battery_service.h 264 B

1234567891011121314151617181920
  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. #ifdef __cplusplus
  12. }
  13. #endif