Carsten Haitzler
d0c5fb465b
this requires we have to force dpms on to reduce power. to avoid glitches with the pointer staying around in x we need to support suspending it too so it hides cleanly like the screen dims or undims. also use the new powersave freeze mode to do this. note that i've tested this on s3 supporting laptops and non-s3 and it "works for me". it may require more testing and work. there is more to power saving than just this as well but for now that's out of scope as you have to mess with linux device autosuspend timeouts and a bunch more (wowlan ... blahblah). i need to find the source of the intermittent wakeups too in e. there is a long lived timeout (8-ish seconds?) but more specifically e keeps waking up from fd's and then reading /sys stuff about battery - some event is causing us to do this... maybe to suspend this or make battery checking very rare when in freeze mode (or screen off) etc. so this fixes some glitches as well as supports a new way of sleeping "alive" when hardware literally doesnt support normal s3 sleep... so kind of a fix with a feature. |
||
---|---|---|
.. | ||
bin | ||
modules | ||
protocol | ||
tests | ||
Makefile.mk |