Class: Toybox.AntPlus.BatteryStatus
- Inherits:
-
Toybox.AntPlus.CommonData
Overview
A class containing information from the Battery Status ANT+ common page.
Fields may return null
so you should null
check values before using
them.
See Also:
Instance Member Summary collapse
-
batteryStatus as AntPlus.BatteryStatusValue or Null
The BATT_STATUS_* value of the battery.
-
batteryVoltage as Lang.Float or Null
The voltage, -1 is invalid.
-
operatingTime as Lang.Number or Null
The operating time in seconds.
Instance Method Summary collapse
-
initialize()
Constructor.
Instance Attribute Details
var batteryStatus as AntPlus.BatteryStatusValue or Null
The BATT_STATUS_* value of the battery.
var batteryVoltage as Lang.Float or Null
The voltage, -1 is invalid
var operatingTime as Lang.Number or Null
The operating time in seconds.
Instance Method Details
initialize()
Constructor