Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Feb 24, 2013 11:05 AM in response to CT

Hi all.


I am having the same issue on my 2012 Non-retina MPB.


I reported the issue to my mac protection support in November.

After some diagnostics at the rapair shop I had my disk fully wiped and it was the 12C3012 that was the supposed culprit (with no explanation).


From that time it ran OK.

But a cuple of weeks ago I ran software update again and the issue came back.

I again spoke to apple care, but this time to more technical people.

This time I had a very straight response: it's supposed to do this.

The 12C3012 adjusts the power/sleep behaviour to make the power drain profile compliant with an EU directive.

It's "The European Commission's Ecodesign Directive (2005/32/EC) for reducing the environmental impact of energy-related products (ErP for short)".

It specifically relates to Lot 6 (standby and off-mode- EC 1275/2008)

You can read a bit more about it on: http://www.powerint.com/green-room/agencies/ec-eup-eco-directive


So the only "bug" in this whole thing is that there is no mention of this behaviour being introduced.


Hope this answers some questions.


Mick

Feb 24, 2013 11:29 AM in response to prezzy77

Makes sense although I still think it's really stupid for Apple to go along with this if they had a choice and even more stupid not to tell their own people about this and have them replacing perfectly good MBP's under warranty.


Obviously the power consumption savings is microscopic and even if there was no fix, then users could simply let their MBP sleep on battery unplugged which would then use equivalent power consumption to recharge the battery.


Chris

Feb 24, 2013 11:46 AM in response to prezzy77

I was told a similar thing when my ticket was closed, although they said there was still a bug with part of it.


As far as I know, this doesn't happen on Retina MacBooks – there seem to be no complaints. It's as if the power saving works correctly on those, but has issues with our models.


I'm utterly unconvinced that this is exactly what's meant to happen. My wife's 2009 MacBook is fully updated, and doesn't have this problem. If it's true that it's to meet an EU regulation, then it should be the same of every machine.

Feb 24, 2013 12:28 PM in response to prezzy77

sorry to beat a dead horse, but as it's been said previously in this thread, I find it hard to believe that going into hibernation after being asleep for 4 hours while on AC power is a "feature". Not only is it a nuisance in a practical sense, it's also illogical. If this were a feature while on battery power, it would make some sense, but since it ONLY occurs while using the typically limitless supply of electricity fed via the powercord, why was such a drastic "energy saving" feature introduced?


I can believe that there is some kind of energy saving feature trying to be implimented here, but I think there must be some error or bug with it.

Feb 24, 2013 12:43 PM in response to koreanricequeen

sudo pmset -a hibernatemode 3

sudo pmset -a autopoweroff 0

sudo pmset -a autopoweroffdelay 36000

sudo pmset -a standby 0

sudo pmset -a standbydelay 36000

sudo pmset -a acwake 0


Run those one-by-one in Terminal (cut and paste each line). After entering the first one you'll have to type in your password and it may be disconcerting that when you type, nothing seems to be registering--it is. After that, just run the rest.


I've gotten absolute resolution of this strange issue, regardless of whatever reason it seems to plague some but not all systems. I've been trouble-free now for over a month if not more.


FYI, I run a MBPR 15-inch (first model).

Feb 24, 2013 12:45 PM in response to prezzy77

prezzy77 wrote:


Hi all.


I am having the same issue on my 2012 Non-retina MPB.


I reported the issue to my mac protection support in November.

After some diagnostics at the rapair shop I had my disk fully wiped and it was the 12C3012 that was the supposed culprit (with no explanation).


From that time it ran OK.

But a cuple of weeks ago I ran software update again and the issue came back.

I again spoke to apple care, but this time to more technical people.

This time I had a very straight response: it's supposed to do this.

The 12C3012 adjusts the power/sleep behaviour to make the power drain profile compliant with an EU directive.

It's "The European Commission's Ecodesign Directive (2005/32/EC) for reducing the environmental impact of energy-related products (ErP for short)".

It specifically relates to Lot 6 (standby and off-mode- EC 1275/2008)

You can read a bit more about it on: http://www.powerint.com/green-room/agencies/ec-eup-eco-directive


So the only "bug" in this whole thing is that there is no mention of this behaviour being introduced.


Hope this answers some questions.


Mick

This part is correct and no one is contesting that. However, there's still a bug with the setup they introduced. The bug is as follows.


Hibernation is only entered when on sleep for 4 hours AND power adapter is plugged in. Without the power adapter plugged in, the system never enters hibernation which is not what pmset shows. Hibernation is when the system state in RAM is written to hard disk in the hibernation file and then all power is shut off (that's why the system loses very little power when it's in this mode but a lot more when it's in simple sleep (the mode where the system state is resident in RAM and the system keeps RAM powered up). Now, why would anyone think that it makes logical sense to enter this mode when you're plugged into ac power but not when you're on batter. Stupid reason... the system doesn't need to maximize battery power in this state because it is connected to a valid power source. So, just as pmset indicates, hibernate should be entered when both batter and ac profiles are in use. That would maximize the battery life the most AND provide less power drain to the ac power source coming in.


Now, second bug. The system wakes from sleep when the ac adapter is plugged in or unplugged from the system. More than likely it does this to switch pm modes and know when it's on the ac power profile or when it's on the battery profile. There's one glaring issue with this. By doing this, it defeats the purpose of the system entering the deeper hibernation and maintaining better battery life because now it has to wake up, switch profiles, and start counting down again before it can enter hibernation. That's a problem because now it'll waste battery power while in sleep (because it has to power the RAM) before it can enter hibernation. So, again, why wake it? Stupid... Let it remain in hibernation once it enter that state until the user triggers a clamshell open or a power button press. How hard is it to code the pm settings like this? Here's another problem this type of behavior leaves the system susceptible to. The system doesn't know when the ac adapter is unplugged from the wall or from the laptop, meaning that if there's a power outage or something interrupts power to the adapter, the system again wakes up to switch power profile modes. Now imagine if power was unreliable (like it can be in the EU countries). Now you have a laptop that's constantly switching modes, causing power loss in the battery, causing more wear and tear on the battery, and also causing wear and tear on the hard drive having to spin up and down all the time on non-SSD equipped systems.


Like I said, Apple engineers didn't think very dynamically and clearly when they wrote OSX's PM abilities. Back to the old drawing board for them I guess.

Feb 24, 2013 12:49 PM in response to Summer Storm Pictures

Summer Storm Pictures wrote:


sudo pmset -a hibernatemode 3

sudo pmset -a autopoweroff 0

sudo pmset -a autopoweroffdelay 36000

sudo pmset -a standby 0

sudo pmset -a standbydelay 36000

sudo pmset -a acwake 0


Run those one-by-one in Terminal (cut and paste each line). After entering the first one you'll have to type in your password and it may be disconcerting that when you type, nothing seems to be registering--it is. After that, just run the rest.


I've gotten absolute resolution of this strange issue, regardless of whatever reason it seems to plague some but not all systems. I've been trouble-free now for over a month if not more.


FYI, I run a MBPR 15-inch (first model).

According to sources testing various systems since this issue started with the applicaton of DL1609 (the patch in question), the system still exhibits the wake/resleep issue when the system is sleeing with clamshell closed and the ac adapter is plugged/unplugged from it. Please test this again if you wish. Close your laptop and let it sleep. Make sure the LED indicator starts slowly flashing indicating that it's entered sleep. Then connect the AC adapter and watch it wake up for a few seconds and then reenter sleep. Prior to DL1609, this was never the case unless the user enables standby by using "sudo pmset standby 1" as a command.

Mar 9, 2013 4:26 PM in response to chocobanana

I believe this problem may have been fixed with the most recent OS upgrade. I have now charged my MacBook Pro twice for longer than 4 hours (once was overnight) and once was for 7 hours and I did not have the problem of it going into hibernation, I opened the lid and it was just fine. I hope this is the end to this annoying problem.

Mar 9, 2013 5:53 PM in response to emailsfh

Sorry - I mean update (I am not technical). I have had a couple in the past several weeks so I am assuming that one of these fixed it. I can't be sure which one as usually I charge my computer in the evening when I am working to prevent this issue but last night I had to charge it overnight and when I opened the lid this morning, to my surprise it was not in hibernation. Then this afternoon I tried it again and charged it for 7 hours and once again it was fine when I opened the lid - no hibernation. I wish I could tell you exactly which update it was.

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.