MacBook switches to hibernation during sleep

Hi there,


Since installing the MacBook Pro/Air 2.0 update, while my computer goes into sleep mode, after a certain amount of time it switches to Hibernation mode automatically.


This means that after X amount of hours (could not figure out yet how many exactly), when I wake up the computer, it actually will wake up from an hibernation state, much more slowly.


Anyway to restore the old behavior of waking up from sleep only, regardless of how much time has passed?


Thanks!

MacBook Pro, OS X Mountain Lion (10.8.2), 2012 15" 2.6Ghz, Anti Glare

Posted on Nov 16, 2012 1:55 AM

Reply
226 replies

Mar 15, 2013 8:44 AM in response to emailsfh

Ya, I don't know why Apple just didn't have one setting and allow it to work in both profiles respectively. I think it's some kind of antiquated OSX issue maybe. You don't see Windows have different terminaology for sleep or hibernation based on which power profile it's currently in. So I don't know why Apple thinks its a good idea to have meaningless settings in there that do nothing in one profile and something else in another.

Mar 15, 2013 8:53 AM in response to SwankPeRFection

A few more questions. So having standby set to 1 on AC adapter has no effect at all, because it is strictly for battery hibernate, right? Also, even if I play with these hibernation settings, hibernatemode 3 will still allow the computer to hibernate on low battery regardless?


For example, I have standbydelay set to 4 hours, but if the computer only has 3 hours of battery life left when I close the lid, hopefully it will hibernate when the battery gets too low, rather than completely drain the battery and die waiting for 4 hours?

Apr 21, 2013 2:20 PM in response to chocobanana

Since I plugged its power adapter into an uninterruptible power supply, my MacBook resumes quickly after sleeping overnight. My guess is that the power coming from the wall outlet was fluctuating during the night, enough to trigger a "restore from disk image" rather than the preferred "wake from memory." Get yourself a small UPS and the problem should go away. See this excerpt from the system documentation for the power management set utility:


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.

Apr 21, 2013 4:57 PM in response to knmac

Interesting but I don't think that's the main issue. If autopower off is set to 4 hours, anytime up to the 4 hours MBP will awake from sleep no problem. After that, it does the hibernation thing. Change the autopower off to disabled and no hibernation. This is very consistent and has been documented multiple time. Nothing to do with current fluctuation. I'm not saying the UPS means nothing but its not the real issue. Also not a practical solution if you use your MBP in multiple locations, hotels, etc.

Apr 22, 2013 9:10 AM in response to knmac

knmac wrote:


Since I plugged its power adapter into an uninterruptible power supply, my MacBook resumes quickly after sleeping overnight. My guess is that the power coming from the wall outlet was fluctuating during the night, enough to trigger a "restore from disk image" rather than the preferred "wake from memory." Get yourself a small UPS and the problem should go away. See this excerpt from the system documentation for the power management set utility:


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.


This is incorrect.

Apr 23, 2013 4:23 PM in response to SwankPeRFection

I have a "mid-2012" MacBook Pro running 10.8.3 which I see is what this thread has been recently discussing. I experienced slow restart after more than four hours of sleep with a progress bar displayed during what apparently was a restore from disk image. Since plugging the power adapter into a small UPS, I have observed a return to fast recoveries after long periods of sleep, which I interpret to be the desired "wake from memory". So things are back to the way I would like them to be and I thought to share my experience. I'm curious to know if anyone else has seen this unexpected benefit from using a UPS.

Apr 24, 2013 7:56 AM in response to knmac

What you're experiencing is not due to a UPS thing... Leave your system sleeping for over 14400 seconds and it will hibernate. That is the timeout setting for entering hibernation (where you see the progress bar at the bottom) when the system is plugged into power and clamshell closed to enter sleep. Only dark-wakes (read up on what it is if needed) would keep this 14400 second timeout from happening and would inherently keep the system from entering hibernation. Additonally, SSD equipped machines look a bit differently even when woken up from hibernation because of the speed of SSD and the quickness of the wakeup out of hibernation process on those system.

Apr 24, 2013 8:02 AM in response to SwankPeRFection

I posted about a month ago saying that mine has stopped hibernating. It has been going on well over a month and it no longer hibernates. I now charge it all the time over night and I have no issues. I did not change any settings like the majority of you did. All I have done is do the software updates that have appeared on my computer. I bought a brand new MacBook Pro in January, had it for a week and the hibernation issue started happening, after 3 days of working with Apple they gave me a brand new machine and the problem occurred the very next day. I came onto the boards and saw it was a known issue. I decided not to change the settings on my machine and to wait it out. Something happened with one of my software updates because I no longer have the issue. Sometimes it is better to wait it out then changing settings on your machine.

Apr 24, 2013 8:08 AM in response to SwankPeRFection

Swank, knmac did say that he experienced this behavior previously after 4 hours / 14400 seconds. Now it no longer exhibits the behavior. While I think this has nothing to do with power supply, Kelly is also saying her problem is gone. Apple may have snuck an update in?


Kelly or Knmac, can either of you go into your terminal and type in the following: "pmset -g custom". This will display what your current settings are showing. Then paste in the resulting text so we could all see. This should settle it if others on this board who have experienced the problem can replicate your results using your settings.

Apr 24, 2013 4:38 PM in response to hockeymagnet

MacBook Pro contains a spinning hard drive, not an SSD. The only things I've done to fix the long wake from sleep problem have been to read threads like this, accept all of Apple's software updates, and plug the power adaptor into a UPS. I have not changed any settings using the pmset utility. The machine now reliably comes out of sleep very fast after all night or all day with the lid closed (more than 4 hours). The white sleep light pulses when I leave it and is still pulsing when I return to wake it up.


pmset -g custom

Battery Power:

lidwake 1

autopoweroff 1

autopoweroffdelay 14400

standbydelay 4200

standby 0

ttyskeepawake 1

hibernatemode 3

hibernatefile /var/vm/sleepimage

displaysleep 5

sleep 15

acwake 0

halfdim 1

sms 1

lessbright 1

disksleep 10

AC Power:

lidwake 1

autopoweroff 1

autopoweroffdelay 14400

standbydelay 4200

standby 0

ttyskeepawake 1

hibernatemode 3

hibernatefile /var/vm/sleepimage

womp 1

displaysleep 5

networkoversleep 0

sleep 60

acwake 0

halfdim 1

sms 1

disksleep 10


User uploaded file

pmset -g ps

Currently drawing from 'AC Power'

-InternalBattery-0 99%; charged; 0:00 remaining


User uploaded file

pmset -g ups

UPS settings:

haltlevel on 20

haltafter off 2

haltremain off 0


User uploaded file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacBook switches to hibernation during sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.