Battery Lifetime

Andy Green andy at openmoko.com
Fri Jul 18 11:29:54 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
|> What's wrong with 100's of resumes / day, as long as each one takes no
|> longer
|> than 2~3sec, and is on low power profile?
|
| the screen becomes senstive to tapping -- and if your fr is in a place
| where taps to the screen might occur frequently (say in your bag) it
will
| never suspend.

Touchscreen is not a "wake from suspend" source, so as you suggest it
didn't get to suspend to make this trouble.  Answer for that is in the X
world, giving an easy way to get into suspend immediately if you know it
goes to your bag.

| btw: are there hooks to actions to be done on suspend/resume and a way
to
| determine if the resume was caused by phone/pwrbutton or something else?

cat /sys/devices/platform/neo1973-resume.0/resume_reason

as I mentioned gives you the resume reason easily enough if you have
current U-Boot.  I think Carsten plans to have it done by D-Bus to talk
to this daemon.  But I am a bit doubtful this userspace-centric way is
going to be enough.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiAYpIACgkQOjLpvpq7dMpRGQCfQxFbG7hxivFMhCm+KZTDyM3x
VmoAoJHKYBEuN/G6wJ1jGOB2E46t2SPY
=ykiz
-----END PGP SIGNATURE-----




More information about the community mailing list