|
PebbleOS v4.47.0-512-g5285d4236
|
#include <pbl/services/battery/battery_state.h>Functions | |
| void | battery_monitor_init (void) |
| Initialize the monitor and battery state tracking. | |
| void | battery_monitor_handle_state_change_event (PreciseBatteryChargeState state) |
| Update the power state after a battery state change. | |
| bool | battery_monitor_critical_lockout (void) |
| Check whether the UI must be locked out because the battery is critical. | |
| struct pbl_delayed_work * | battery_monitor_get_standby_timer (void) |
| Get the standby timer, for unit tests. | |