battery_service.h 232 B

123456789101112131415161718
  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_update_level(uint8_t battery_level);
  10. #ifdef __cplusplus
  11. }
  12. #endif