Skip to content

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.

关注我,学习大模型、大数据、Python等热门技术。