diff options
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/status.c b/apps/status.c index c6f4e4944c..7e9233a63f 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -175,8 +175,9 @@ void status_draw(bool force_redraw) | |||
175 | } | 175 | } |
176 | 176 | ||
177 | #ifdef HAVE_LCD_BITMAP | 177 | #ifdef HAVE_LCD_BITMAP |
178 | if (battery_state) | 178 | if (battery_state && (info.battlevel > -1)) |
179 | statusbar_icon_battery(info.battlevel, plug_state); | 179 | statusbar_icon_battery(info.battlevel, plug_state); |
180 | |||
180 | statusbar_icon_volume(info.volume); | 181 | statusbar_icon_volume(info.volume); |
181 | statusbar_icon_play_state(current_mode + Icon_Play); | 182 | statusbar_icon_play_state(current_mode + Icon_Play); |
182 | switch (info.repeat) { | 183 | switch (info.repeat) { |
@@ -202,6 +203,7 @@ void status_draw(bool force_redraw) | |||
202 | 203 | ||
203 | 204 | ||
204 | #if defined(HAVE_LCD_CHARCELLS) | 205 | #if defined(HAVE_LCD_CHARCELLS) |
206 | if (info.battlevel > -1) | ||
205 | lcd_icon(ICON_BATTERY, battery_state); | 207 | lcd_icon(ICON_BATTERY, battery_state); |
206 | lcd_icon(ICON_BATTERY_1, info.battlevel > 25); | 208 | lcd_icon(ICON_BATTERY_1, info.battlevel > 25); |
207 | lcd_icon(ICON_BATTERY_2, info.battlevel > 50); | 209 | lcd_icon(ICON_BATTERY_2, info.battlevel > 50); |