capacity property
double
capacity
The capacity of this battery as a percentage. Only applicable for UPowerDeviceType.battery.
Implementation
double get capacity => (_properties['Capacity'] as DBusDouble).value;