主题
BatteryState 继承自: Enum
Battery state.
枚举值
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
CHARGING | — | 'charging' | The battery is currently charging. |
CONNECTED_NOT_CHARGING | — | 'connectedNotCharging' | The battery is connected to a power source but not charging. |
DISCHARGING | — | 'discharging' | The battery is discharging. |
FULL | — | 'full' | The battery is fully charged. |
UNKNOWN | — | 'unknown' | The battery state is unknown. |