nRF Connect SDK API 2.8.99
|
int bt_bas_get_last_battery_level | ( | struct bt_bas_client * | bas | ) |
#include <include/bluetooth/services/bas_client.h>
Get the last known battery level.
This function returns the last known battery level value. The battery level is stored when a notification or read response is received.
bas | BAS Client object. |