class documentation

class BatteryStatus(ACMEIntEnum):

View In Hierarchy

Battery Status. This represents the "m2m:batteryStatus" data type.

Constant CHARGING The battery is currently charging.
Constant CHARGING_COMPLETE The battery is fully charged and still on power.
Constant DAMAGED The battery has some problem.
Constant LOW_BATTERY The battery is low on charge.
Constant NORMAL The battery is operating normally and not on power.
Constant NOT_INSTALLED The battery is not installed.
Constant UNKNOWN The battery information is not available.

Inherited from ACMEIntEnum:

Class Method has Check whether the enum type has an entry with either the given int value or string name.
Class Method to Return an enum value by its name.
Method __int__ Get the integer value of an enum.
Method __repr__ Stringify an enum.
Method __str__ Stringify an enum.
CHARGING: int =

The battery is currently charging.

Value
2
CHARGING_COMPLETE: int =

The battery is fully charged and still on power.

Value
3
DAMAGED: int =

The battery has some problem.

Value
4
LOW_BATTERY: int =

The battery is low on charge.

Value
5
NORMAL: int =

The battery is operating normally and not on power.

Value
1
NOT_INSTALLED: int =

The battery is not installed.

Value
6
UNKNOWN: int =

The battery information is not available.

Value
7