feat(lcd): unify idle restoration and add clock battery HUD

This commit is contained in:
chenjintao
2026-10-09 14:38:17 +08:00
parent f6408be05b
commit e75846ea15
5 changed files with 294 additions and 46 deletions
+2
View File
@@ -683,6 +683,8 @@ typedef struct {
typedef struct {
bool low_battery_visible;
bool charging_visible;
bool battery_valid; /* false 时显示未知值,不伪造 0%。 */
uint8_t battery_percent; /* domain 提供的 SOC,0..100。 */
} platform_lcd_status_overlay_t;
/* 状态覆盖层是持久状态,不会随一次 presentation 播放结束而自动清除。 */