state property
BatteryState
get
state
The current battery operational state.
Returns
- BatteryState: The state (charging, discharging, etc.).
Implementation
BatteryState get state;
The current battery operational state.
BatteryState get state;