Is there a way to set a MacBook Pro (10.8.2) to go into normal sleep when I close the case but then switch to hibernation after, say, 15 minutes? It's clearly capable of going from sleep to hibernate when the battery runs low, but I haven't been able to find out if that behavior can be triggered by anything else.

Background: I need to use Filevault encryption, and my understanding is that it doesn't provide much protection if the computer is stolen while in normal sleep mode. To remedy this I've set it to hibernate instead of sleeping and enabled the DestroyFVKeyOnStandby option. But this is very inconvenient when I just want to put it on standby for a few minutes (e.g., put it in my bag, walk to a meeting upstairs, open it back up).

up vote 5 down vote accepted

Retina MacBook Pros and newer MacBook Airs actually do that by default under certain conditions. If Power Nap is disabled, the computer is on battery power, not connected to USB devices and not paired with Bluetooth devices, it enters standby mode (hibernation) after about 70 minutes of normal sleep.

If pmset -g | grep standby looks like this, your computer supports standby mode:

 standby              1
 standbydelay         4200

You can change the delay to 15 minutes with sudo pmset -b standbydelay 900.

  • Oh, that's great, thank you. I experimented with standbydelay, but it didn't work when I tried it -- I didn't know that a USB device could keep it from engaging. I'll do another test right now. – octern Feb 19 '13 at 22:18
  • I had to use -a instead of -b to change the standbydelay – Ciprian Tomoiagă May 2 at 8:18

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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