lindh

Q: 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

Close

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

  • All replies
  • Helpful answers

  • by W M R,Helpful

    W M R W M R Dec 4, 2012 11:18 PM in response to lindh
    Level 2 (157 points)
    Photos for Mac
    Dec 4, 2012 11:18 PM in response to lindh

    I have the same issue on my MacBook Pro mid 2012! The strange thing is that it only goes into safe sleep if it is plugged in, as long as it is running on battery it stays in standby mode. Shouldn't it be the other way round?!...

  • by tristankoffee,Helpful

    tristankoffee tristankoffee Dec 9, 2012 1:33 AM in response to lindh
    Level 1 (5 points)
    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.

  • by Kenneth Lu,

    Kenneth Lu Kenneth Lu Dec 9, 2012 11:20 AM in response to lindh
    Level 1 (30 points)
    Notebooks
    Dec 9, 2012 11:20 AM in response to lindh

    For the record, I have a mid-2012 non-Retina 15" MBP with 10.8.2, and I have this same problem.

  • by Kenneth Lu,

    Kenneth Lu Kenneth Lu Dec 9, 2012 11:26 AM in response to Kenneth Lu
    Level 1 (30 points)
    Notebooks
    Dec 9, 2012 11:26 AM in response to Kenneth Lu

    I should also mention this only happens to me SOMETIMES, and I haven't been able to pin down when it does and when it doesn't..

  • by tristankoffee,

    tristankoffee tristankoffee Dec 9, 2012 4:21 PM in response to lindh
    Level 1 (5 points)
    Dec 9, 2012 4:21 PM in response to lindh

    The following thread seems to have some answers to this issue.  I haven't tried it myself, but there are people on there who describe the exact same issue and some of them have had success with a semi-fix.

     

    https://discussions.apple.com/thread/4512384

  • by knmac,

    knmac knmac Apr 21, 2013 2:19 PM in response to lindh
    Level 1 (0 points)
    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.

  • by Delta Mac,

    Delta Mac Delta Mac May 2, 2013 1:10 PM in response to lindh
    Level 1 (1 points)
    May 2, 2013 1:10 PM in response to lindh

    Have you had any solution to this issue? I have the same issue on my 13" MBP non retina. I have tried setting the hibernatemode and autopoweroff to 0, but nothing works.

  • by CMCSK,

    CMCSK CMCSK May 2, 2013 1:16 PM in response to Delta Mac
    Level 6 (10,875 points)
    May 2, 2013 1:16 PM in response to Delta Mac

    Delta Mac wrote:

     

    Have you had any solution to this issue? I have the same issue on my 13" MBP non retina. I have tried setting the hibernatemode and autopoweroff to 0, but nothing works.

     

    It's time to take the computer to an Apple store or an AASP.  Whichever is more convenient for you.

     

     

     

     

     

     

     

     

     

     

     

    dancingsmilie.gif

  • by Kenneth Lu,

    Kenneth Lu Kenneth Lu May 2, 2013 1:54 PM in response to Delta Mac
    Level 1 (30 points)
    Notebooks
    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/message/21325631#21325631

  • by Delta Mac,

    Delta Mac Delta Mac May 2, 2013 2:16 PM in response to Kenneth Lu
    Level 1 (1 points)
    May 2, 2013 2:16 PM in response to Kenneth Lu

    makes absolute sense. Thanks. I will try that.

  • by Romanch2,

    Romanch2 Romanch2 Mar 6, 2014 12:31 PM in response to lindh
    Level 1 (0 points)
    Mar 6, 2014 12:31 PM in response to lindh

    I have the same exact issue! So, besides that Terminal solution, is there any other way to fix that? Thanks! Also, the computer wakes up when the power cord is disconected while in sleep mode. Thanks!