UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics.
