PebbleOS v4.47.0
Loading...
Searching...
No Matches
sim.h File Reference
#include <stdbool.h>
#include <stdint.h>

Functions

void pbl_battery_sim_set (uint8_t percent, bool charger_connected)
 Set the battery state.
 
uint8_t pbl_battery_sim_get_percent (void)
 Get the charge percentage last set.