4 Replies Latest reply: Jan 26, 2013 10:26 PM by Courcoul
redw Level 1 Level 1 (0 points)

This applies to 10.8.2 on a mid-2012 15" MacBook Pro (the non-Retina version).

 

So the issue was initially:

 

1) Leave MBP plugged in, sleeping, for a few hours

2) Unplug MBP

3) Attempt to wake machine

4) Machine wakes, but some seconds later, MBP enters hibernate.  System turns off and requires a full boot.

 

I dug around in "man pmset" and looked at the current pmset flags on my machine and found this unreferenced "autopoweroff".  It's not defined the pmset man page, but I did notice the value wasn't 0, so I set it to 0.

 

That fixed the hibernate issue (I think?), but now the current issue is:

 

1) Leave MBP plugged in, sleeping, for a few hours, lid has been left open

2) Unplug MBP

3) Attempt to wake machine

4) Machine wakes, I enter password begin interacting with various apps, but some seconds later, machine falls asleep.  Because it takes a few seconds to fully fall asleep, I have to wait up to 10 seconds before I get the login screen back.

 

This is incredibly frustrating.  Here's the output from a pmset -g:

 

Active Profiles:

Battery Power                    -1*

AC Power                    -1

Currently in use:

standbydelay         4200

standby              0

halfdim              1

sms                  1

hibernatefile        /var/vm/sleepimage

gpuswitch            2

disksleep            10

sleep                15

autopoweroffdelay    14400

hibernatemode        3

autopoweroff         0

ttyskeepawake        1

displaysleep         10

acwake               0

lidwake              1

 

Any suggestions?


MacBook Pro, OS X Mountain Lion (10.8.2)
  • 1. Re: Mountain Lion aggressively sleeping after AC unplug, mid-2012 MBP15
    John Galt Level 8 Level 8 (36,390 points)

    Thought I have not read every page, this thread may hold a few clues: MacBook switches to hibernation during sleep

     

    One obvious suggestion, since you did not mention it, is to reset the SMC:

     

    Before Resetting the SMC

     

    Try each of the following steps in this order before you reset the SMC. Test the issue after completing each troubleshooting step to determine if the issue still occurs.

     

    1. Press Command + Option + Escape to force quit any application that is not responding.
    2. Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    3. Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    4. Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.

     

    Resetting the SMC on portables with a battery you should not remove on your own

     

    1. Shut down the computer.
    2. Plug in the MagSafe power adapter to a power source, connecting it to the Mac if it's not already connected.
    3. On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    4. Release all the keys and the power button at the same time.
    5. Press the power button to turn on the computer.
  • 2. Re: Mountain Lion aggressively sleeping after AC unplug, mid-2012 MBP15
    redw Level 1 Level 1 (0 points)

    Reset the SMC and re-tested.  Issue persists.

  • 3. Re: Mountain Lion aggressively sleeping after AC unplug, mid-2012 MBP15
    SwankPeRFection Level 4 Level 4 (1,435 points)

    This is more bullsh** because of the DL1609 patch that introduced the most recent PM issues.  Nothing you can do really until Apple fixes this short of calling and complaining to AppleCare.

  • 4. Re: Mountain Lion aggressively sleeping after AC unplug, mid-2012 MBP15
    Courcoul Level 6 Level 6 (11,470 points)

    The only reasons for this behavior that I can think of are either that the battery is essentially dead and can't support the system on its own, or that the SMC is so darn fokked up that it THINKS the battery is in such a condition.

     

    We could go on and on with 1001 conjectures and things to do, but the fact remains that the computer is still in its one year base warranty (or even more, if you purchased AppleCare), so it is Apple's problem to make it right. No sense in beating our brains silly over this problem.

     

    And while on the subject, if you did not purchase AC and seeing all these problems, may I suggest you do so in case you plan on keeping the Mac for more than a year. You need to have AC activated before the base warranty runs out.