Upower

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.

shell

upower -e
upower -i /org/freedesktop/UPower/devices/battery_BAT1
Upower
2000-2016 by Daniel Pimentel under GFDL