battery_service.h 304 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stdbool.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. void battery_svc_start();
  8. void battery_svc_stop();
  9. bool battery_svc_is_started();
  10. bool battery_svc_update_level(uint8_t battery_level);
  11. bool battery_svc_update_power_state();
  12. #ifdef __cplusplus
  13. }
  14. #endif