2021-09-09 21:11:32 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-09-13 11:25:37 +00:00
|
|
|
void battery_svc_start();
|
|
|
|
|
|
|
|
void battery_svc_stop();
|
2021-09-09 21:11:32 +00:00
|
|
|
|
2021-12-08 11:28:01 +00:00
|
|
|
bool battery_svc_is_started();
|
|
|
|
|
2021-09-09 21:11:32 +00:00
|
|
|
bool battery_svc_update_level(uint8_t battery_level);
|
|
|
|
|
2022-05-24 13:42:02 +00:00
|
|
|
bool battery_svc_update_power_state();
|
|
|
|
|
2021-09-09 21:11:32 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|