by Daniel Pimentel — Sat 08 August 2009
UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit.
upower -e upower -i /org/freedesktop/UPower/devices/battery_BAT1