class documentation
class BatteryStatus(ACMEIntEnum):
Battery Status. This represents the "m2m:batteryStatus" data type.
| Constant | CHARGING |
The battery is currently charging. |
| Constant | CHARGING |
The battery is fully charged and still on power. |
| Constant | DAMAGED |
The battery has some problem. |
| Constant | LOW |
The battery is low on charge. |
| Constant | NORMAL |
The battery is operating normally and not on power. |
| Constant | NOT |
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. |