diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screens.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/apps/screens.c b/apps/screens.c index ac8dea1c24..9a9ebff140 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -200,16 +200,9 @@ void charging_display_info(bool animate) | |||
200 | snprintf(buf, 32, "not charging"); | 200 | snprintf(buf, 32, "not charging"); |
201 | 201 | ||
202 | lcd_puts(0, 3, buf); | 202 | lcd_puts(0, 3, buf); |
203 | if (charger_enabled) | 203 | if (!charger_enabled) |
204 | { | ||
205 | backlight_on(); /* using the light gives good indication */ | ||
206 | } | ||
207 | else | ||
208 | { | ||
209 | backlight_off(); | ||
210 | animate = false; | 204 | animate = false; |
211 | } | 205 | #endif |
212 | #endif | ||
213 | 206 | ||
214 | 207 | ||
215 | /* middle part */ | 208 | /* middle part */ |
@@ -275,7 +268,8 @@ int charging_screen(void) | |||
275 | ide_power_enable(false); /* power down the disk, else would be spinning */ | 268 | ide_power_enable(false); /* power down the disk, else would be spinning */ |
276 | 269 | ||
277 | lcd_clear_display(); | 270 | lcd_clear_display(); |
278 | backlight_on(); | 271 | if(global_settings.backlight_on_when_charging) |
272 | backlight_on(); | ||
279 | status_draw(true); | 273 | status_draw(true); |
280 | 274 | ||
281 | #ifdef HAVE_LCD_BITMAP | 275 | #ifdef HAVE_LCD_BITMAP |