PebbleOS
Loading...
Searching...
No Matches
Functions
Battery Service

GATT Battery Service. More...

Functions

void pbl_bt_bas_handle_update (uint8_t percent)
 Update the battery level of the Battery Service.
 

Detailed Description

GATT Battery Service.

Function Documentation

◆ pbl_bt_bas_handle_update()

void pbl_bt_bas_handle_update ( uint8_t  percent)

Update the battery level of the Battery Service.

Notifies the subscribed connected devices.

Parameters
percentBattery level, 0 to 100.