Macbook Pro 2012 Hibernating? (10.8.2)

Discussion in 'MacBook Pro' started by skitzogreg, Nov 16, 2012.

  1. skitzogreg macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #1
    Well, this sure is an odd issue to say the least. If my new Macbook Pro (2012, cMBP) stays asleep for a few+ hours, it's no longer asleep but, as best as I can describe it, it's hibernating. The sleep indicator is off, the power charger is plugged in, but when I open the lid, the screen is grey and it's like an indicator bar is filling up before it will show the desktop. If I let it sleep for a few minutes it comes up with no issues.

    SMC has been reset (probably multiple times to make sure I did it correctly). The problem still exists. Any advice?
     
  2. T5BRICK macrumors 604

    T5BRICK

    Joined:
    Aug 3, 2006
    Location:
    Oregon
    #2
    I've been having some sleep issues, including some similar to this, on my mid 2009 MBP since I updated to 10.8.2. I just disable safe sleep for now and hope Apple fixes it in the next OSX update.
     
  3. skitzogreg thread starter macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #3
    Thanks for the reassurance. I hope so as well.
     
  4. theBostonian Suspended

    Joined:
    Apr 15, 2012
    #4
    How odd, this very thing happened to me today, in the morning. I usually leave my MBP in sleep mode for ages but this morning when I turned it on I could hear the DVD drive go and then the screen was showing an indicator bar. Also, I was asked to put in my password because I use full-disk encryption.

    How do I make it not do this?
     
  5. skitzogreg thread starter macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #5
    This is literally the exact issue that I'm referencing. The DVD drive checks for a disc (audible), as if it's restarting. Indicator bar and desktop follow. Maybe we should throw this on the Apple forums?
     
  6. theBostonian Suspended

    Joined:
    Apr 15, 2012
    #6
    Did yours start doing this out of the blue as well?

    As far as I'm aware I've not changed any settings nor installed anything.

    Could you open terminal (cmd + space, type in terminal) and paste this command into it: sudo pmset -g

    These are my settings:

    Active Profiles:
    Battery Power -1
    AC Power -1*
    Currently in use:
    standbydelay 4200
    standby 0
    womp 1
    halfdim 1
    hibernatefile /var/vm/sleepimage
    gpuswitch 2
    sms 1
    networkoversleep 0
    disksleep 0
    sleep 0
    autopoweroffdelay 14400
    hibernatemode 3
    autopoweroff 1
    ttyskeepawake 1
    displaysleep 15
    acwake 0
    lidwake 1



    It didn't do this until a few days ago, before I was able to have it in sleep mode indefinitely...
     
  7. hallux macrumors 68020

    hallux

    Joined:
    Apr 25, 2012
    #7
    Mine is doing this also, started after the "Update 2" for the mid-2012 MBP.

    Here's the results from my Mac.

    Active Profiles:
    Battery Power 1
    AC Power -1*
    Currently in use:
    standbydelay 4200
    standby 0
    womp 1
    halfdim 1
    hibernatefile /var/vm/sleepimage
    gpuswitch 2
    sms 1
    networkoversleep 0
    disksleep 10
    sleep 60
    autopoweroffdelay 14400
    hibernatemode 3
    autopoweroff 1
    ttyskeepawake 1
    displaysleep 10
    acwake 0
    lidwake 1

    I thought there was a thread in here on turning Safe Sleep (that's what's happening) off.
     
  8. Elijen macrumors 6502

    Elijen

    Joined:
    May 8, 2012
    #8
    I've noticed the same issue after update to 10.8.2 ... maybe it's a feature :/
     
  9. AirThis macrumors 6502a

    Joined:
    Mar 6, 2012
    #9
    The following article describes how to tweak the various settings linked to safe sleep:

    http://www.garron.me/mac/macbook-hibernate-sleep-deep-standby.html

    Theoretically, the following command should set hibernate mode off for all power modes (charger, battery, etc.):

    Code:
    sudo pmset -a hibernatemode 0
    
    (default value: 3)
    I've simply set the safe sleep timer to 20 hours with the command given below (as suggested in the article). It seems to work.

    Code:
    sudo pmset -a standbydelay 72000 
    
    (previous value: 4200)
    To check the last time your computer went into hibernation, see if the following file exists:

    Code:
    /private/var/vm/sleepimage
    The date stamp of that file should correspond to the last hibernation and is roughly the size of your RAM. I have 16 GB RAM and get the following result:

    Code:
    -rw------T  1 root  wheel  17179869184 Nov 18 15:37 /private/var/vm/sleepimage
    There's a lot of info on this in the pmset man pages as well.
     
  10. theBostonian Suspended

    Joined:
    Apr 15, 2012
    #10
    I've changed my standby delay to 20 hours now too. I'm a little puzzled, however, because my settings show that the value for standby is 0, as is the other individual's, and yet it goes into hibernate mode after a few hours.

    It wasn't doing this immediately after the update, it just started recently :confused:

    Thanks for the link tho, I'll see if that sorts it out.
     
  11. AirThis macrumors 6502a

    Joined:
    Mar 6, 2012
    #11
    Standby=0 here as well. I agree with you, this is slightly confusing. However, when reading the man pages of pmset, it became a bit more clear. Standby only works if hibernatemode is set to 3 or 25. So if you have a doubt, you could just try the following:

    sudo pmset -a hibernatemode 0

    I've included an extract from the man pages below.

     
  12. skitzogreg thread starter macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #13
    I'm giving the 72000 suggestion a try. This is such an interesting issue.
     
  13. AirThis macrumors 6502a

    Joined:
    Mar 6, 2012
    #14
    I just tried putting my MBP to sleep overnight instead of shutting it down. It woke up instantly 12 hours later. Before putting it to sleep I had charged it completely. When I woke it up this morning there was 96% battery left.

    Anyway, if anyone else wants to give it a try, these are my settings:

    Code:
    Active Profiles:
    Battery Power		-1*
    AC Power		-1
    Currently in use:
     standbydelay         72000
     standby              0
     halfdim              1
     hibernatefile        /var/vm/sleepimage
     darkwakes            0
     gpuswitch            2
     disksleep            10
     sleep                37
     autopoweroffdelay    14400
     hibernatemode        3
     autopoweroff         1
     ttyskeepawake        1
     displaysleep         4
     acwake               0
     lidwake              1
     
  14. theBostonian Suspended

    Joined:
    Apr 15, 2012
    #15
    Mine also slept soundly, but there has arisen an annoying issue where it would turn on briefly if I unplugged it...

    Could that be due to setting autopoweroff to 0?
     
  15. AirThis macrumors 6502a

    Joined:
    Mar 6, 2012
    #16
    It's possible, yes. That doesn't happen on mine and I left autopoweroff at 1. If my computer goes to sleep and I then unplug the power cord it stays asleep.
     
  16. lilmoe macrumors newbie

    Joined:
    Jul 29, 2012
    #17
    This happened to me after the 2.0 Update too. I googled it and ended up doing this. Basically locked my sleepimage file and it stopped all "hibernation/safe sleep."
     
  17. skitzogreg thread starter macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #18
    This is actually a part of the original problem that I omitted from the description unintentionally. I'll test this when I get home to see if it's still doing that, but as far as it sleeping through the night, it did that fine with the 72000 change.
     
  18. andymac2210 macrumors regular

    Joined:
    Jul 18, 2011
    #19
    I actually came here because this happened to my MBP today (2012 model).

    Guessing it's a new feature now?
     
  19. skitzogreg thread starter macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #20
    Update: Mine appears to have turned on when I unplugged the power cord. Issue replicated.
     
  20. kissmygrass macrumors newbie

    Joined:
    Nov 19, 2012
    #21
    Same here. MacBook Pro mid 2012, wakes up on connecting/disconnecting AC (no such behaviour before installing the last update).
    syslog | grep -i "Wake reason"
    produces several entries with Wake reason: EC.ACAttach (Maintenance) and Wake reason: EC.ACDetach (Maintenance). Strange, acwake is set to 0.

    Any ideas?
     
  21. CausticPuppy macrumors 65816

    Joined:
    May 1, 2012
    #22
    That workaround is still working for me (0-byte immutable sleepimage).

    I also have my standbydelay set to 24 hours.

    I haven't tried seeing what happens now when I let the system sleep for 24+ hours; I suspect it'll just power off, but since it can't write the sleep image, it will be an ungraceful shutdown.

    Just remember to save everything before you shut the lid, or power off manually if you know you're not going to use it for the next day or so.
     
  22. skitzogreg thread starter macrumors 6502

    skitzogreg

    Joined:
    Oct 31, 2007
    Location:
    Arkansas
    #23
    Are we messing with information on the OS directly (hard drive) or in the Mac version of the BIOS? In other words, if this screws something up, will a reformat fix this?
     
  23. lilmoe macrumors newbie

    Joined:
    Jul 29, 2012
    #24
    Yes.
     
  24. AirThis macrumors 6502a

    Joined:
    Mar 6, 2012
    #25
    I have these messages as well when plugging/unplugging the mains, but the computer stays asleep.
     

Share This Page