feat(power): add battery monitoring and status overlays

This commit is contained in:
chenjintao
2026-08-18 11:53:14 +08:00
parent 609fe978f1
commit 8f8254b397
31 changed files with 1655 additions and 22 deletions
@@ -88,6 +88,15 @@ typedef struct {
esp_err_t control_plane_init(void);
/**
* @brief Start battery sensing and charge-status presentation.
*
* Safe to call repeatedly. This service is intentionally started before
* connectivity bootstrap so battery and charger indications do not depend on
* Wi-Fi, provisioning, or server readiness.
*/
esp_err_t control_plane_battery_service_start(void);
/**
* @brief Prepare platform-backed persistent storage before runtime workers start.
*