Danny Kukawka wrote:
> get the AC state from /proc/acpi. It's IMHO always better to set such things
> to unknown if unknown and not to dupe a (wrong) state
Yes, i just learned this last friday ;-)
Of course we need to check for the usage in the daemon, usually we can
just exchange
switch (state) {
case OFFLINE:
....
- case ONLINE:
+ default:
....
}
and it should be the same as it was now, later we can add additional
cases for "unknown" etc. states.
This is not really urgent, it is just a re-thinking of the former
concept :-)
--
Stefan Seyfried \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, Nürnberg \ -- Leonard Cohen
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel