Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

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

How can you force the computer (in this case a laptop [rMBP]) into the "hibernate" state where it writes the RAM to the HDD/SSD so that the battery can last for the advertised 30 days.

I know that this can be achieved by waiting 70 minutes (4200 secs) after it is in sleep mode (if you haven't adjusted the default time settings), but is there a way to force it into this state?

I am having wake problems, and want to test this state of waking from.

share|improve this question

I don't know if it's equivalent to the deep sleep mode, but sudo pmset -a hibernatemode 25 makes computers hibernate immediately when going to sleep.

hibernatemode = 3 (binary 0011) by default on supported portables. The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from disk image.

hibernatemode = 25 (binary 0001 1001) is only settable via pmset. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps, slower wakes, and better battery life, you should use this setting.

share|improve this answer

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.