mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 11:13:09 +00:00
22 lines
320 B
C
22 lines
320 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void battery_svc_start();
|
|
|
|
void battery_svc_stop();
|
|
|
|
bool battery_svc_is_started();
|
|
|
|
bool battery_svc_update_level(uint8_t battery_level);
|
|
|
|
bool battery_svc_update_power_state(bool is_charging);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|