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?

link|improve this question

feedback

2 Answers

up vote 5 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.

link|improve this answer
feedback

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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