summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/main_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index 234a21f3d5..ade84ba2af 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -185,8 +185,12 @@ bool show_info(void)
185 lcd_puts(0, y++, s); 185 lcd_puts(0, y++, s);
186 186
187#ifdef HAVE_CHARGE_CTRL 187#ifdef HAVE_CHARGE_CTRL
188 if (charger_enabled) 188 if (charge_state == 1)
189 snprintf(s, sizeof(s), str(LANG_BATTERY_CHARGE)); 189 snprintf(s, sizeof(s), str(LANG_BATTERY_CHARGE));
190 else if (charge_state == 2)
191 snprintf(s, sizeof(s), str(LANG_BATTERY_TOPOFF_CHARGE));
192 else if (charge_state == 3)
193 snprintf(s, sizeof(s), str(LANG_BATTERY_TRICKLE_CHARGE));
190 else 194 else
191#endif 195#endif
192 snprintf(s, sizeof(s), str(LANG_BATTERY_TIME), battery_level(), 196 snprintf(s, sizeof(s), str(LANG_BATTERY_TIME), battery_level(),