diff options
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r-- | apps/main_menu.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index 49ad9c9f5b..a5517f928d 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -183,21 +183,13 @@ bool show_info(void) | |||
183 | #endif | 183 | #endif |
184 | lcd_puts(0, y++, s); | 184 | lcd_puts(0, y++, s); |
185 | 185 | ||
186 | #ifdef HAVE_LCD_CHARCELLS | ||
187 | snprintf(s, sizeof(s), str(LANG_BATTERY_LEVEL_PLAYER), | ||
188 | battery_level(), battery_level_safe() ? "" : "!"); | ||
189 | #else | ||
190 | #ifdef HAVE_CHARGE_CTRL | 186 | #ifdef HAVE_CHARGE_CTRL |
191 | if (charger_enabled) | 187 | if (charger_enabled) |
192 | snprintf(s, sizeof(s), str(LANG_BATTERY_CHARGE)); | 188 | snprintf(s, sizeof(s), str(LANG_BATTERY_CHARGE)); |
193 | else | 189 | else |
194 | snprintf(s, sizeof(s), str(LANG_BATTERY_LEVEL_RECORDER), | ||
195 | battery_level(), battery_level_safe() ? "" : " !!"); | ||
196 | #else | ||
197 | snprintf(s, sizeof(s), str(LANG_BATTERY_LEVEL_RECORDER), | ||
198 | battery_level(), battery_level_safe() ? "" : " !!"); | ||
199 | #endif | ||
200 | #endif | 190 | #endif |
191 | snprintf(s, sizeof(s), str(LANG_BATTERY_TIME), battery_level(), | ||
192 | battery_time() / 60, battery_time() % 60); | ||
201 | lcd_puts(0, y++, s); | 193 | lcd_puts(0, y++, s); |
202 | } | 194 | } |
203 | 195 | ||