Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

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.

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.