Safe sleep / hibernate problem with 13" MBP (non-retina)

Hi All,


I just purchased a new 13" MBP and I'm having an issue with resuming from safe sleep / hibernation. Here's the sequence of events that I'm seeing:


  • Shut lid of computer at night. The computer is plugged in.
  • The unit remains in sleep mode until sometime the next day (plugged in the entire time)
  • Lift lid to wakeup (still plugged in)
  • Instead of waking up, I get the greyed-out screen with the white status bar dots at the bottom. This takes ~10-15 seconds.
  • After the status bar goes away, the trackpad and keyboard remain unresponsive for another 10-15 seconds.
  • Finally, the machine is responsive.


So, this is really annoying. On my old MBP, the status bar would only show up if I left the machine in sleep mode on battery power for several days.


As far as I can tell, this machine uses "safe sleep" mode. Meaning that when it goes to sleep, it writes the contents of the RAM to the hard drive. If power is lost during sleep and the battery is drained, it can power down the RAM and resume from the hard drive, which takes a long time, but preserves whatever information was in the RAM. However, my machine is doing this after any long sleep period even when plugged in. It wakes up normally if it is only shut for a few seconds or minutes.


Any ideas? I called apple support, and the tech said this was normal for it to take ~30 seconds to be responsive after opening the lid (he was also extremely rude and didn't seem to understand safe sleep mode at all). My 8 year old MBP takes about 4 seconds, so I know he's wrong, or I'm taking this thing back.


I've found instructions to disable safe sleep, but that seems possibly risky. And I shouldn't need to do that. Any ideas?


Also, I looked in Console, here's a line at the time I opening my machine:

11/29/12 9:05:57.000 PM kernel[0]: hibernate_machine_init pagesDone 1020470 sum2 1455f1eb, time: 13864 ms, comp bytes: 2451988480 time: 2228 ms 1049 Mb/s, crypt bytes: 1412289024 time: 535 ms 2516 Mb/s


As I'm reading this, it took ~14 seconds to read the hibernate file.....? That sounds about right.

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Nov 29, 2012 8:39 PM

Reply
11 replies

Dec 9, 2012 1:33 AM in response to lindh

I'm also having this problem and have a mid-2012 MBP 13" which I bought about 6 months ago. Sometimes it starts with the greyed-out screen then freezes for a short while, other times it just freezes for a short while (same as above, "short while" is about 10-15s). This does *not* happen when left on battery power - in that circumstance waking from sleep takes a few seconds.


This has only started happening in the last month or so. When I got it 6 months ago with Lion it was fine. When I updated to Mountain Lion it was fine...only recently has the behaviour started.


So, it seems to me that one of the recent updates has changed the way sleep mode works which is causing this behaviour.

Apr 21, 2013 2:19 PM in response to lindh

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.

May 2, 2013 1:54 PM in response to Delta Mac

Apple introduced auto-hibernation. Unfortunately, they messed up and made it auto-hibernate when plugged in and not when on battery, when it should have been the other way around.

The solution is to enter the following in the Terminal:


sudo pmset -a autopoweroffdelay 86400


This will cause the MacBook to only hibernate after 24 hours instead of the default 4 hours.


Details on rationale here:

https://discussions.apple.com/thread/4506347?answerId=21325631022#21325631022

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.

Safe sleep / hibernate problem with 13" MBP (non-retina)

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