Hello,
There is first attempt to create a layer between TDE and UPower. Also, there is a small GUI test application, which collect and display all possible information about battery.
API documentation: http://www.thel.ro/upower/annotated.html
Classes following closely UPower specs: http://upower.freedesktop.org/docs/ref-dbus.html
Feedback and suggestions are welcome.
Download: (~100k) http://www.thel.ro/tdelibs.tar.gz
cmake should be run from top of source tree (tdelibs).