Skip to Content
🚀 We just launched! Please star us on Github!

Battery Channel

Channel Category: battery

Reports the status of a device’s battery, including level, charging state, and operational health.


Required Properties

PropertyData TypeRangeUnitPermissions
percentageUchar0–100%RO (Read-Only)
statusEnumok/low/charging-RO (Read-Only)

Property Details

percentage

Represents the current battery level as a percentage.

status

Indicates the current status of the battery:

  • ok: The battery level is sufficient.
  • low: The battery level is critically low and may require recharging or replacement.
  • charging: The battery is currently charging.

Optional Properties

PropertyData TypeRangeUnitPermissions
faultUchar0–255-RO (Read-Only)

Property Details

fault

Represents the fault state of the battery:

  • 0: No fault detected.
  • Non-zero: A fault has been detected, potentially affecting functionality.
Last updated on