chocobanana

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

Close

Q: MacBook switches to hibernation during sleep

  • All replies
  • Helpful answers

first Previous Page 11 of 16 last Next
  • by kellyfromfayetteville,

    kellyfromfayetteville kellyfromfayetteville Mar 9, 2013 5:53 PM in response to emailsfh
    Level 1 (0 points)
    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. 

  • by SwankPeRFection,

    SwankPeRFection SwankPeRFection Mar 9, 2013 7:17 PM in response to kellyfromfayetteville
    Level 4 (1,435 points)
    Mar 9, 2013 7:17 PM in response to kellyfromfayetteville

    Without specifying the OSX build of your system from the About screen and then also showing the PMSET settings for this, you cannot say the issue doesn't apply to you.  No one knows of any recent updated that addresses this problem yet.  Please share your info if possible.

  • by SwankPeRFection,

    SwankPeRFection SwankPeRFection Mar 9, 2013 7:19 PM in response to kellyfromfayetteville
    Level 4 (1,435 points)
    Mar 9, 2013 7:19 PM in response to kellyfromfayetteville

    When you opened the lid, was the system still plugged in or had you unplugged it from the charger for a few seconds and then opened it after that?

  • by kellyfromfayetteville,

    kellyfromfayetteville kellyfromfayetteville Mar 9, 2013 8:07 PM in response to SwankPeRFection
    Level 1 (0 points)
    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.

  • by emailsfh,

    emailsfh emailsfh Mar 14, 2013 10:04 PM in response to kellyfromfayetteville
    Level 1 (0 points)
    Mar 14, 2013 10:04 PM in response to kellyfromfayetteville

    Anyone have feedback after 10.8.3 yet?

  • by diooda,

    diooda diooda Mar 15, 2013 3:12 AM in response to chocobanana
    Level 1 (0 points)
    Mar 15, 2013 3:12 AM in response to chocobanana

    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. :(

  • by SwankPeRFection,

    SwankPeRFection SwankPeRFection Mar 15, 2013 7:24 AM in response to emailsfh
    Level 4 (1,435 points)
    Mar 15, 2013 7:24 AM in response to emailsfh

    10.8.3 hasn't resolved this not will they resolve the hibernation setting.  It's there for a reason.  What they need to fix is the need for the system to wake when the AC adapter is plugged/unplugged from the system.  As for hibernation, if you don't like it, just disable the setting via PMSET.  You are allowed to do that.

  • by hockeymagnet,

    hockeymagnet hockeymagnet Mar 15, 2013 7:53 AM in response to SwankPeRFection
    Level 1 (4 points)
    Desktops
    Mar 15, 2013 7:53 AM in response to SwankPeRFection

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

  • by SwankPeRFection,

    SwankPeRFection SwankPeRFection Mar 15, 2013 7:58 AM in response to hockeymagnet
    Level 4 (1,435 points)
    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.

  • by diooda,

    diooda diooda Mar 15, 2013 7:58 AM in response to chocobanana
    Level 1 (0 points)
    Mar 15, 2013 7:58 AM in response to chocobanana

     

     

    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

  • by emailsfh,

    emailsfh emailsfh Mar 15, 2013 8:04 AM in response to hockeymagnet
    Level 1 (0 points)
    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

  • by SwankPeRFection,

    SwankPeRFection SwankPeRFection Mar 15, 2013 8:01 AM in response to diooda
    Level 4 (1,435 points)
    Mar 15, 2013 8:01 AM in response to diooda

    Just turn off autopoweroff via the command sudo pmset autopoweroff 0.  This will keep that hibernation from happening if you don't like it.

  • by diooda,

    diooda diooda Mar 15, 2013 8:10 AM in response to chocobanana
    Level 1 (0 points)
    Mar 15, 2013 8:10 AM in response to chocobanana

    What will happens whan I'll be on batterry and baterry go to discharges? computer will go to hibernation??? 

  • by emailsfh,

    emailsfh emailsfh Mar 15, 2013 8:09 AM in response to SwankPeRFection
    Level 1 (0 points)
    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?

  • by SwankPeRFection,

    SwankPeRFection SwankPeRFection Mar 15, 2013 8:15 AM in response to emailsfh
    Level 4 (1,435 points)
    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.

first Previous Page 11 of 16 last Next