state property
UPowerDeviceState
state
The battery power state. Only applicable for UPowerDeviceType.battery.
Implementation
UPowerDeviceState get state =>
UPowerDeviceState.values[(_properties['State'] as DBusUint32).value];