Skip to content

BatteryInterfaceBatteryAttribute

HTTP API schema

The battery level of the device and a report of its condition.

BatteryInterfaceBatteryAttribute fields

levelnumberRequired

minimum: 0

maximum: 100

healthstring

Reported battery condition.

BatteryInterfaceBatteryAttribute fields: possible enum values for health
ValueMeaning
OKThe battery is healthy.
LOWThe battery is low.
CRITICALThe battery needs immediate charging or replacement.
View source specification ↗