how to recover file after battery exhaustion

How do I recover unsaved files after battery exhaustion? Before my snow leopard installation, when I replug power after battery exhaustion, the system would restart and resume the desktop with my working files. After I installed snow leopard, the system simply went for a complete reboot every time I replug power after battery died, and thus I couldn't find the files I worked on unless I saved them. How do I find/recover the unsaved files?

I use macbook and snow leopard. Any advice would be highly appreciated!

macbook, Mac OS X (10.6.1)

Posted on Oct 14, 2009 9:29 PM

Reply
11 replies

Oct 14, 2009 10:38 PM in response to orientflow

Unless there was an auto-saved backup copy (MS Word and a few other apps do this), then the files are lost, since they were only in RAM and never saved to disk.

In the future, you might want to use SmartSleep, which can automatically set the system to hibernate so you can plug it back in, turn it on, and have all your files back like you did before.

Also, make sure the system is going to sleep when the battery is about to die rather than just dying while it's awake. If it just dies, then it could mean you have a battery problem.

Oct 15, 2009 4:10 AM in response to orientflow

The system is supposed to warn you when your battery is getting low, and then will put itself to sleep when the battery gets dangerously low. Are you saying that Snow Leopard is no longer doing this? If so, you may want to try [resetting the SMC|http://macosx.com/forums/howto-faqs/302002-reset-system-management-controll er-smc.html].

Note that, on any system, sleep uses a small trickle of battery power. If you don't plug the machine in quickly enough (a few hours at least is safe, in my experience), it can drain the battery completely and you lose any unsaved changes unrecoverably. I'm not sure how things work with hibernation - I would hope that the system is smart enough to hibernate when there is still enough battery power left to write out the RAM to disk, but I don't really know, as I hate hibernation and never use it.

Oct 20, 2009 3:56 AM in response to orientflow

I think you are seriously confused about terminology, as your post doesn't make a lot of sense. Rebooting refers to the act of restarting the Mac, just as if you turned off the machine and then turned it back on again. It restarts the system from scratch (ie, with a "fresh desktop").

Sleep is a completely different thing. It allows the machine to stay on while cutting power to as many components as possible. This allows the machine to look like it's turned off, but it retains its state and wakes up with all the same apps/windows open.

If you are putting your machine to sleep and finding later that it has not retained the state, as you seem to be saying, that means the battery has died and the machine shut down. Not a nice, gentle shut down, like when you choose Apple -> Shut Down, but an abrupt, kick-in-the-head sort of shut down that has the potential to do damage to your system software. Not to mention that you'll lose unsaved changes to open documents. This is a problem, and you need to address it.

Oct 23, 2009 3:54 AM in response to thomas_r.

Hi Thomas

Are you saying your MBP is sleeping at low battery?

My 2008 MBP 15" stopped doing this after a clean Leopard install: it warns you that it will sleep and then powers off abruptly, all unsaved changes lost. Connecting the power adapter allows you to start it up from cold.

Battery status is OK in Energy Saver, have reset PMU, recalibrated battery.

Everything is fine apart from the missing ability to sleep. Other people seem to be reporting a similar issue =0)

Oct 23, 2009 7:45 AM in response to Rostron

Are you saying your MBP is sleeping at low battery?


Honestly, I don't know, as I haven't gotten into that situation since installing SL. I'm intentionally trying to do it now... been using the machine with wifi on and screen brightness at max for 1.5 hours and still plenty of charge left, but I'll post my results when I run out.

However, note that the post you're replying to was not about acknowledging or refuting such a sleep problem. It was about clarifying terminology and establishing a base of knowledge from which to continue the conversation. As a former tech support person, when I hear someone say that they rebooted "with all my opened windows" instead of with a "fresh desktop," that indicates that there's a serious disconnect between what is going on and the terms being used to describe it. Support via this kind of forum is only as good as the clarity of the communication... after all, I can't see what he's describing.

Oct 23, 2009 11:25 PM in response to thomas_r.

I'm pretty sure "rebooting with open windows" refers to the recovery from the memory state which was saved to disk (hibernation). Leopard would do this on laptops (which is why the sleep light would be solid for several seconds while it wrote the memory to disk), but it sounds like Snow Leopard turns this hibernation feature off by default.

Basically what it does (or did) is this: if the battery power completely dies (or the battery is removed) during sleep, the next time the computer is rebooted it will show a different progress bar while it brings back the saved memory state from the hard disk, then all windows and even unsaved documents will be back.

Oct 24, 2009 2:18 AM in response to BugSquash

the next time the computer is rebooted it will show a different progress bar while it brings back the saved memory state from the hard disk, then all windows and even unsaved documents will be back.


I'm aware of what hibernation is, as I mentioned it in my first reply on this post. But to say it once again, it is an error to use the word "reboot" to refer to waking a machine from either sleep or hibernation. I think my reasons for making this clarification have been adequately stated.

Oct 24, 2009 6:05 AM in response to Rostron

I was just curious as to how widespread this sleep at low battery issue was.


I don't really know... probably nobody does. Reading here will not give you a good indication, as you don't find many people saying "Hi, just letting people know I'm not having the low-battery sleep issue." The best indication would probably come from someone who manages a large number of Macs for a company or school. Back in the 90s, I had to manage over 50 Macs for a department at a large university, and saw a pretty good cross-section of the types of problems people had with Macs at that time. However, I suspect that such environments will not have converted entirely over to SL yet, and may not for some time.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to recover file after battery exhaustion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.