Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have discovered the hard way that bad things happen to my VMs if my macbook pro goes to sleep while a VM is running.

Is there a way to prevent my computer from being put to sleep when VMWare Fusion is running a VM but allow it to be put to sleep otherwise?

share|improve this question
up vote 7 down vote accepted

To paraphrase the iPhone ads, there's an app for that: Caffeine

It is a menubar app. Click prevents computer from sleeping, click again and the computer can sleep like normal.

share|improve this answer

Leave it plugged into the power adapter, and set this in System Preferences -> Energy Saver.

Power Adapter Settings

When its on battery, set it to sleep after however long you want.

This might not be the exact solution you're looking for, but I don't know of any software that will automatically handle this without some kind of intervention. Apps like Caffeine or InsomniaX require doing something and can be easily forgotten.

share|improve this answer
VM Fusion seems to be ignoring this setting and sleeps the VMs anyway. May be a bug in VMWare fusion 4. – Steve Mitcham Dec 5 '11 at 21:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.