Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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).

share|improve this question

1 Answer 1

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

share|improve this answer
    
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

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.