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 9, 2013 8:07 PM in response to SwankPeRFection

The first time (when it charged overnight) - it was already unplugged before I lifted the lid. This evening after it charged for 7 hours- I lifted the lid and then unplugged it.


I also never changed my PMSET settings like a good majority of you did on this discussion thread. I chose to wait and have Apple fix it. Instead, I would charge it in the evening when I was working and then unplug it before I went to bed. However, last night I was not able to do this, therefore I decided to just charge it overnight and deal with the hibernation issue this morning but to my surprise this morning, there was no issue.


Keep in mind that Apple is not admitting this is/was a known bug so with any update they are not going to specify this specifically in the update, they are going to say "fix any known bugs" like they always do with all updates.


Perhaps you should try it and see if your MacBook Pro is now operating correctly when charging for longer than 4 hours.

Mar 15, 2013 7:58 AM in response to hockeymagnet

hockeymagnet wrote:


Exactly - I do not believe they will "fix" the hibernation issue but the wake on plug/unplug should be addressed

Correct because they have to leave the hibernation option in there. Honestly, this same hibernation behavior was available before this update came out. It only worked on battery power (not plugged into charger) and was called Standby in PMSET. I know this because I've used it for the past month to save battery power and go into hibernation after 1 hour of sleep on batteries. All they did after the update is also made this option available on the AC power profile when it's plugged in and called it Autopoweroff.


Bottom line, people have individual control over using or not using these hibernation settings. What they don't currently have control over is this wakeup bs behavior when these settings are enabled and the charger gets attached/detached. There is actually a PMSET setting for this behavior. It's called ACWAKE and by default it's set to 0 (i.e. disabled). The problem is that this setting is apparently ignored when Standby or Autopoweroff is set to 1 (i.e. enabled). Why? I don't know... but it's stupid and illogical.

Mar 15, 2013 7:58 AM in response to chocobanana

diooda



Yesterday night I instaled 10.8.3 and go to sleep. After wake up open computer and it was in hibernation. Apple doasn't fix it yet. 😟




this is my settings and all night computer was plugged to power. What I have to do with settings?


Currently in use:

standbydelay 4200

standby 0

womp 1

halfdim 1

hibernatefile /var/vm/sleepimage

sms 1

networkoversleep 0

disksleep 0

sleep 0 (sleep prevented by 893)

autopoweroffdelay 14400

hibernatemode 3

autopoweroff 1

ttyskeepawake 1

displaysleep 0

acwake 0

lidwake 1

Mar 15, 2013 8:04 AM in response to hockeymagnet

So, without reading through this and the numerous other threads again, does anyone know how to bring back the old setting where with the charger unplugged it will still go into hibernation if the battery drains too low?


I have already done a number of the other tweaks to make this problem as minimal as possible. Here are my custom settings using the adapter and the battery:


-MacBook-Pro:~ username$ pmset -g custom

Battery Power:

lidwake 1

autopoweroff 1

autopoweroffdelay 14400

standbydelay 36000

standby 1

ttyskeepawake 1

hibernatemode 3

gpuswitch 2

hibernatefile /var/vm/sleepimage

displaysleep 10

sleep 45

acwake 0

halfdim 1

sms 1

lessbright 1

disksleep 10


AC Power:

lidwake 1

autopoweroff 0

autopoweroffdelay 86400

standbydelay 36000

standby 1

ttyskeepawake 1

hibernatemode 3

gpuswitch 2

hibernatefile /var/vm/sleepimage

womp 1

displaysleep 10

networkoversleep 0

sleep 0

acwake 0

halfdim 1

sms 1

disksleep 10

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

Hi SwankPeRFection, my question is slightly different. I already have my autopoweroff set to 0 for AC charging and 1 for battery, and that seems to work fine (sudo pmset -c autopoweroff 0, sudo pmset -b autopoweroff 1). I guess I'm talking about the "deep sleep" (standby?) option you were talking about a few messages back where the computer will save the settings to hard drive and hibernate when the battery gets LOW. How do you set it to do this automatically at a certain percentage of the battery?

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

emailsfh wrote:


Hi SwankPeRFection, my question is slightly different. I already have my autopoweroff set to 0 for AC charging and 1 for battery, and that seems to work fine (sudo pmset -c autopoweroff 0, sudo pmset -b autopoweroff 1). I guess I'm talking about the "deep sleep" (standby?) option you were talking about a few messages back where the computer will save the settings to hard drive and hibernate when the battery gets LOW. How do you set it to do this automatically at a certain percentage of the battery?

That's an inherent behavior the hibernation mode you have set, which is currently 3 and it should be 3.


Fact is, Standby is hibernation for Battery profile and Autopoweroff is hibernation for AC Profile, nothing more. Ideally, the commands issued as a whole (for all profiles) if you don't want hibernation due to timeout is to just leave the delays at the default 4200 and 14400 seconds and just issue...


sudo pmset standby 0

sudo pmset autopoweroff 0


This will disable hibernation on both AC and Battery profiles and since you're not touching the hibernatemode setting, the emergency power reserve hibernation will still work when you run low on battery life.

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.