Skip to main content

BatteryState

Battery state.

Inherits: enum.Enum

Properties

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.