10 Replies Latest reply: May 2, 2012 4:29 PM by malachiD66
naf1w2 Level 1 Level 1 (0 points)

Hello,

 

I recently reinstalled Lion and restored my 15" MacBook Pro (latest model) from a Time Machine backup. After my battery dies, when I plug it in and click the power button, the computer does a full restart rather than doing a quick resume to exactly where I left off when the battery died. It is quite frustrating and very inconvenient when I lose something I had been working on. Is there any easy solution to this, or would you simply reccomend reinstalling Lion again?

 

Thank you very much in advance for any help, I really appreciate it.

Nick


MacBook Pro (15-inch Early 2011), Mac OS X (10.7.3)
  • 1. Re: MacBook Restarts instead of Resuming after battery dies.
    John Galt Level 8 Level 8 (36,350 points)

    Look at your Energy Saver preferences. I would try toggling the "allow power button... " behaviour checkbox:

     

    Screen Shot 2012-04-13 at 11.42.49 PM.png

     

    Pressing it to wake the MacBook Pro should not result in a reboot but try it anyway. Try pressing a key in lieu of the power button too.

     

    Power related problems usually mean an SMC reset is indicated. Try that also, before reinstalling Lion.


  • 2. Re: MacBook Restarts instead of Resuming after battery dies.
    naf1w2 Level 1 Level 1 (0 points)

    Thank you for the quick response! Unfortunately, my energy saver preference page doesn't have that option, and the tab that says UPS in your image says Battery for me. I am trying by switching the sleep setting back to safe sleep so the image is copied to the hard drive, rather than regular sleep where the ram is just kept active. I had it set to regular sleep before reinstalling Lion, and I dont remember having this problem then.

  • 3. Re: MacBook Restarts instead of Resuming after battery dies.
    John Galt Level 8 Level 8 (36,350 points)

    I'm not sure I understand. "Deep sleep" in which the image is written to disk occurs at a predetermined time after the MBP is put to sleep, if not connected to AC power. It seems to be an hour or two last I checked. There are ways to alter this predetermined time but not through Energy Saver. There is little justification for needing to do this though.

     

    Either way you should not lose any work, which is why I assumed your MBP is rebooting after you let the battery run down.

     

    If the battery loses its calibration or is very old, which yours should not be, sometimes the system will simply shut down unexpectedly when the battery is depleted, whereas a properly calibrated but depleted battery should just cause system sleep.

     

    Can you describe which of these problems seems to be happening?

  • 4. Re: MacBook Restarts instead of Resuming after battery dies.
    naf1w2 Level 1 Level 1 (0 points)

    I had changed my sleepmode in Terminal so as not to write the contents of the RAM to the Hard Drive when sleeping to save the 4 GB of disc space. I am not sure if this will effect what happens when the battery dies, but I am going to give it a shot.

     

    My battery is definately in good shape. I always cycle it fully, and never unplug it mid-charge or plug it in at anything about 10% battery. iStat Nano says my battery is at 93% health.

     

    When the Mac reboots, it opens all the windows that were open upon shutdown, but it takes a much longer time to reboot than it did when it simply resumed where I left off. Work doesn't typically get lost because Microsoft Word usually autosaves my work.

  • 5. Re: MacBook Restarts instead of Resuming after battery dies.
    John Galt Level 8 Level 8 (36,350 points)

    I had changed my sleepmode in Terminal so as not to write the contents of the RAM to the Hard Drive when sleeping to save the 4 GB of disc space. I am not sure if this will effect what happens when the battery dies, but I am going to give it a shot.

     

    I can't tell what changes you made in Terminal so there is no way to determine its effect. To eliminate all doubt I would drag the applicable preference file to the Trash.

    When the Mac reboots, it opens all the windows that were open upon shutdown, but it takes a much longer time to reboot than it did when it simply resumed where I left off. Work doesn't typically get lost because Microsoft Word usually autosaves my work.

     

    Starting a computer after shutdown always takes longer than wake from sleep since the OS has to be loaded before anything else can happen, and reopening all your previously opened windows always takes longer than otherwise since they have to be individually loaded also.

     

    I would not be concerned about 4 GB of disk space; if its remaining capacity is so exiguous that 4 GB makes a difference, it's too full.

     

    I am not sure what you're describing is abnormal.

    My battery is definately in good shape. I always cycle it fully, and never unplug it mid-charge or plug it in at anything about 10% battery. iStat Nano says my battery is at 93% health.

     

    Your battery is in good shape, but cycling it the way you have been is not the way to keep it so. There is no advantage to cycling it fully every time; that only worked with NiCd. Partial recharges and recharging at mid-cycle is OK with lithium ion and lithium polymer batteries.

     

    It is best not to over-think battery charging any more. They need to be cycled but Apple's guidelines are but once a month. Each complete cycle reduces the battery's life; the amount of which is a function of its age, your usage habits, environmental factors and other intangibles.

  • 6. Re: MacBook Restarts instead of Resuming after battery dies.
    naf1w2 Level 1 Level 1 (0 points)

    Thank you again for your involvement. This link will show you the changes I made (from sleep mode 3 to sleep mode 0) http://macs.about.com/od/usingyourmac/qt/Change-How-Your-Mac-Sleeps-Pick-The-Sle ep-Setting-You-Want-Your-Mac-To-Use.htm The reason I did this was because the computer went to sleep faster. I recently cleaned my hard drive up and have only 130 gb of 500 used, so the 4 GB was really the concern. I just liked the faster sleeping process.

     

    I was not aware that constantly fully cycling the battery is not beneficial or even harmful, thank you for informing me. I thought Apple reccomended cylcing it at least once a month.

     

    As far as fixing the resuming problem, I am still waiting for the computer to die and trying the Safe Sleep mode, which is the default setting that I changed.

     

    Hope that works.

  • 7. Re: MacBook Restarts instead of Resuming after battery dies.
    John Galt Level 8 Level 8 (36,350 points)

    Thanks for the description, that seems harmless enough for your MBP. Sleeping faster does have its advantages.

  • 8. Re: MacBook Restarts instead of Resuming after battery dies.
    naf1w2 Level 1 Level 1 (0 points)

    With the sleep setting set back to Safe Sleep, my MBP resumed as it should rather than rebooting, I will now see if I can set it back to regular sleep mode with the same results.

  • 9. Re: MacBook Restarts instead of Resuming after battery dies.
    naf1w2 Level 1 Level 1 (0 points)

    My MBP still restarts after switching it back to regular sleep mode. I will try reinstalling Lion some other day.

     

    Does anyone have any other thoughts before I go through this lengthy process?

  • 10. Re: MacBook Restarts instead of Resuming after battery dies.
    malachiD66 Level 1 Level 1 (0 points)

    I am having a similar problem, but I have NOT recently restored my system from a backup or anything like that.  Also, when the MBP restarts it resets many settings to default (like forgetting network passwords & time/date), and none of the applications reopen.