diff options
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/status.c b/apps/status.c index 84a3f8d6c2..248f9b9e1f 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -172,7 +172,7 @@ void status_draw(bool force_redraw) | |||
172 | if (info.inserted) { | 172 | if (info.inserted) { |
173 | battery_state = true; | 173 | battery_state = true; |
174 | plug_state = true; | 174 | plug_state = true; |
175 | #if defined(HAVE_CHARGE_CTRL) || defined(HAVE_LIION) | 175 | #if defined(HAVE_CHARGE_CTRL) || CONFIG_BATTERY == BATT_LIION2200 |
176 | /* zero battery run time if charging */ | 176 | /* zero battery run time if charging */ |
177 | if (charge_state > 0) { | 177 | if (charge_state > 0) { |
178 | global_settings.runtime = 0; | 178 | global_settings.runtime = 0; |