Message send by a Pixel 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 = PixelBatteryStateValues.ok

The charging state of the battery.

type: number = MessageTypeValues.batteryLevel

Type of the message.