7

Does Android support hibernation?

I'm interested specifically in two scenarios:

  • Resuming after a "nice" powerdown - ie, the phone runs out of power during normal use (say, in the middle of writing or reading email)
  • Resuming after a "catastrophic" powerdown - ie, say the battery accidentally is removed in the middle of some sort of activity.
6
  • 4
    I would think that would more be a function of the individual applications, not the phone/os. A program can do running backups to restore state, for example. I don't know about your first scenario for restarting apps. But I'm pretty sure nothing can help with #2 Commented Feb 13, 2012 at 19:45
  • 1
    Without using flash storage (or something else that preserves state without power) as RAM you can't have #2, and that's slow and expensive (you'd burn out and need to replace it quickly). Listing phones would count as a shopping rec, I think, so I'm going to tweak this if that's OK. Commented Feb 13, 2012 at 19:52
  • If the battery is removed then it can't "resume" because it has nothing to resume from. Hibernation still uses some energy.
    – remmy
    Commented Feb 13, 2012 at 20:51
  • @Demizide no it doesn't. Hibernation is when you save your ram to permanent memory and then restore it on bootup. 'Sleep' means shutting down everything except ram. en.wikipedia.org/wiki/… Commented Feb 16, 2012 at 14:10
  • Yeah, I was really tired when I wrote that
    – remmy
    Commented Feb 18, 2012 at 16:54

1 Answer 1

3

The Android system does not natively support any kind of resume after a full shutdown. Individual apps can save their state at any time and restore that state when the app is loaded, but the Android system cannot store its state or the state of all of the apps for a shutdown. Theoretically speaking, the kernel could probably be modified to support some form of hibernation but the stock Android system does not.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .