Message send by a Charger to notify of its battery level and state.

Implements

  • PixelMessage

Constructors

Properties

Constructors

Properties

levelPercent: number = 0

The battery charge level in percent.

state: number = ChargerBatteryStateValues.ok

The charging state of the battery.

type: number = ChargerMessageTypeValues.batteryLevel

Type of the message.