maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Hibernation / Supsend to Disk (https://talk.maemo.org/showthread.php?t=33682)

titan 2009-10-29 17:33

Hibernation / Suspend to Disk
 
Hi,
does or will Maemo support hibernation (suspend to disk),
which Linux supports on most PCs?

It is a very useful feature if you want keep all your applications
open and in the same state over periods of power off.

There are several scenarios in which you want or have to turn off the device but don't want to start all applications again:

* over night: saves energy and let's you sleep
* in the proximity of sensitive devices (clinic)
* battery changing

cheers

GeneralAntilles 2009-10-29 17:41

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by titan (Post 360865)
* over night: saves energy and let's you sleep

Turning the device doesn't save power unless you're talking in terms of days.

Quote:

Originally Posted by titan (Post 360865)
* in the proximity of sensitive devices (clinic)
* battery changing

Shutting down and restarting is probably faster than hibernating, honestly.

titan 2009-10-29 17:55

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by GeneralAntilles (Post 360870)
Turning the device doesn't save power unless you're talking in terms of days.

after recharging the battery in the evening
I see no point in keeping the device on during my sleep.
I don't mean saving battery power but energy in general.

I know some people are used to keeping all devices on (TV)
even if they leave their house but some people are more environmentally aware.

Quote:

Shutting down and restarting is probably faster than hibernating, honestly.
speed is not an issue here. I just don't to restore all applications and their states (e.g. open terminals, website position) whenever I power it on again. And think we cannot realistically expect all applications to support proper session management.

debernardis 2009-10-29 17:59

Re: Hibernation / Supsend to Disk
 
Though, I'd like hibernation very much. At least to change battery when the first one is dead.
Could be an interesting project when my N900 is available; maybe tough too.

hqh 2009-10-29 18:02

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by titan (Post 360882)
I don't mean saving battery power but energy in general.

Saving battery means saving energy in general...

AFAIK, booting the device up consumes so much power that you're doing better by keeping the device in offline mode over night.

GeneralAntilles 2009-10-29 18:30

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by titan (Post 360882)
I know some people are used to keeping all devices on (TV)
even if they leave their house but some people are more environmentally aware.

Ah, yes, this is a productive way to have a discussion.

Quote:

Originally Posted by hqh (Post 360888)
Saving battery means saving energy in general...

AFAIK, booting the device up consumes so much power that you're doing better by keeping the device in offline mode over night.

Yes, this is the case.

sjgadsby 2009-10-29 19:43

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by titan (Post 360865)
does or will Maemo support hibernation (suspend to disk)...

Well, there had been some work on suspending to RAM during the Chinook/early-Diablo era. I don't know of anyone working on anything similar for Maemo 5 though.

Suspension to RAM/disk would probably be best as a Brainstorm idea at this point.

Matan 2009-10-29 21:03

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by GeneralAntilles (Post 360870)
Turning the device doesn't save power unless you're talking in terms of days.

This is wrong for the 770/N800/N810, and even more wrong for the N900 with its (supposedly) better processor and power hungry radios.
See here for a simple calculation:
http://talk.maemo.org/showthread.php...639#post297639

Quote:

Shutting down and restarting is probably faster than hibernating, honestly.
The advantage of hibernation is not only in the very little time it might save, but in the fact that you get your computer in the same state as you left it - same programs open with the same documents in the same locations, etc.

GeneralAntilles 2009-10-29 21:32

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by Matan (Post 361068)
This is wrong for the 770/N800/N810, and even more wrong for the N900 with its (supposedly) better processor and power hungry radios.
See here for a simple calculation:
http://talk.maemo.org/showthread.php...639#post297639

Video playback does not use the same amount of power as bootup. Either way, I'm more inclined to trust the kernel engineers at Nokia who live and breath this stuff than some random estimates on a web forum. :)

Matan 2009-10-29 22:14

Re: Hibernation / Supsend to Disk
 
Quote:

Originally Posted by GeneralAntilles (Post 361098)
Video playback does not use the same amount of power as bootup. Either way, I'm more inclined to trust the kernel engineers at Nokia who live and breath this stuff than some random estimates on a web forum. :)

Well, if they tell you that 1+1=3 and you trust them, good for you.

Please ask them what is the system current draw at idle, and during shutdown./boot. Then do the math.


All times are GMT. The time now is 02:07.

vBulletin® Version 3.8.8