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 65eff70e81..a7f37a9f9f 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -137,7 +137,7 @@ void status_draw(bool force_redraw) | |||
137 | if (info.inserted) { | 137 | if (info.inserted) { |
138 | battery_state = true; | 138 | battery_state = true; |
139 | plug_state = true; | 139 | plug_state = true; |
140 | #ifdef HAVE_CHARGE_CTRL | 140 | #if defined(HAVE_CHARGE_CTRL) || defined(HAVE_LIION) |
141 | /* zero battery run time if charging */ | 141 | /* zero battery run time if charging */ |
142 | if (charge_state > 0) { | 142 | if (charge_state > 0) { |
143 | global_settings.runtime = 0; | 143 | global_settings.runtime = 0; |