The Following User Says Thank You to fanoush For This Useful Post: | ||
![]() |
2008-08-19
, 12:50
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#22
|
![]() |
2008-08-19
, 13:00
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#23
|
The issue isn't only the time it requires the device to boot. The issue is also booting drains the battery life. An embedded device either doesn't boot much, or booting is quick. With the NIT's low battery life you get neither which drains the battery even more.
Say you fire up the NIT in the morning to check mail. Then you drive to work, suspend it, and after 8 hours you fire it up to check your mail again. Or you did this during your lunch break.
The Following User Says Thank You to lardman For This Useful Post: | ||
![]() |
2008-08-19
, 13:45
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#24
|
Else, it is almost always worth it after X minutes where X is e.g. 15, provided the suspending works correct. The ideal X is something one can researh after an implementation exists.
![]() |
2008-08-19
, 18:26
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#25
|
Not sure if you mean tablet and not sure if you mean suspend to disk or RAM (both are not part of current system) but anyway for tablet this is debatable. Tablet is more like a phone, not laptop with bad power management. It is meant to be always on always online so you can get your mail or receive Skype call anytime you wish. With no buggy application it works fine as is and lasts days while connected to wi-fi with light usage.
![]() |
2008-08-20
, 12:15
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#26
|
![]() |
2008-08-20
, 12:19
|
|
Posts: 2,535 |
Thanked: 6,681 times |
Joined on Mar 2008
@ UK
|
#27
|
Suspending indeed goes against the 'always online' idea, even though my guess is large number of users don't actually use their tablets this way. Still If we assume that leaving it online is the way to go then something needs to be done about runaway processes.
How about a GUI to see which (userspace) applications have used lots of resources in a certain timeframe, and way to indicate which applications to halt (with SIGSTOP) when not using the tablet.
The Following User Says Thank You to Jaffa For This Useful Post: | ||
![]() |
2008-08-29
, 09:13
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#28
|
I'd envisage three lists:
* A whitelist of core system processes which should never be stopped.
* A whitelist of processes to keep running when locked/screen off
* A blacklist of processes to always stop when locking or the screen goes off after some timeout.
(...)
some central database of processes/versions and whether they should be stopped, can be stopped or mustn't be stopped would solve a lot of those issues: the community can build it up over time.
1. really everything is frozen so even some stuff that should be done is not done and system is mildly confused with amnesia after wakeup.
2. you need to wake up periodically each minute to ping the watchdog or system reboots. This means that your programs are periodically woken up too for short moments and can feel bad about it too (e.g. when playing sound or using network). SIGSTOP/SIGCONT may cause similar issues but at least it is not done every minute.
s2ram may indeed save more power but most people don't care if your tablet lasts 20 or 40 days in such standby mode. With clean firmware N810 lasts 30 days after fresh charge when not used at all. So it is not that bad when power management really works.
For better effect both ways can be combined (first send SIGSTOP to all suitable tasks and then do s2ram trick periodically).
Another solution for longer periods of inactivity is to implement suspend to disk (=card). Wakeup may take few seconds though. Still much better than current shutdown/boot procedure taking tenths of seconds.
Newbies click here before posting. Thanks.
If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
Last edited by fanoush; 2008-08-20 at 12:25.