2021-09-10 02:19:02 +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-10 02:19:02 +00:00
|
|
|
|
2021-12-08 11:28:01 +00:00
|
|
|
bool battery_svc_is_started();
|
|
|
|
|
2021-09-10 02:19:02 +00:00
|
|
|
bool battery_svc_update_level(uint8_t battery_level);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|