A few days ago
I sent a proposal to add a HAL backend for power
management. Meanwhile, I fixed call Suspend and added support for
governor (not tested).
I also noticed that setting the brightness and governor is in
condition
WITH_UPOWER, although in fact uses Trinity DBus daemon => has
nothing to
do with upower. I added to the option WITH_TDEHWLIB_DAEMONS and
fixed
incorrect WITH_UPOWER conditions.
Please test it. At the same time I'm waiting for your opinions -
incorporate it or not?
To test these improvements, an operating system with HAL installed
is needed?
Darrell
I would expect that two systems would be needed--one with HAL but not
upower etc.) and one with upower and friends (but not HAL).
I am somewhat concerned about cluttering up the tdehwlib files with
conditionals and such, however this may not be an issue once the source
files are split into smaller chunks (e.g. Fat-Zer's work).
On a related note, please do not commit any patches to tdehwlib right now
as I am in the process of merging Fat-Zer's splitting of the source files.
Thanks!
Tim