Bitbrain SDK 2.8.6
Bitbrain SDK
Loading...
Searching...
No Matches
Battery level constants

Possible values for the battery field in bbt_device_data_block_t. More...

Variables

BBT_SDK_API const short bbt_device_battery_unknown
BBT_SDK_API const short bbt_device_battery_charging

Detailed Description

Possible values for the battery field in bbt_device_data_block_t.

Values from 0 to 5 indicate the level of battery in percentage from 0 = 0% to 5 = 100%. Other possible values are bbt_device_battery_unknown, when the level is being computed, and bbt_device_battery_charging when the device is connected to the charger.

Variable Documentation

◆ bbt_device_battery_charging

BBT_SDK_API const short bbt_device_battery_charging
extern

The battery level is not known yet.