BatteryState
Battery state.
Inherits: enum.Enum
Properties
CHARGING- The battery is currently charging.CONNECTED_NOT_CHARGING- The battery is connected to a power source but not charging.DISCHARGING- The battery is discharging.FULL- The battery is fully charged.UNKNOWN- The battery state is unknown.
Properties
CHARGINGclass-attributeinstance-attribute
The battery is currently charging.
CONNECTED_NOT_CHARGINGclass-attributeinstance-attribute
The battery is connected to a power source but not charging.
DISCHARGINGclass-attributeinstance-attribute
The battery is discharging.
FULLclass-attributeinstance-attribute
The battery is fully charged.
UNKNOWNclass-attributeinstance-attribute
The battery state is unknown.