summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/status.c b/apps/status.c
index 65eff70..a7f37a9 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -137,7 +137,7 @@ void status_draw(bool force_redraw)
if (info.inserted) {
battery_state = true;
plug_state = true;
-#ifdef HAVE_CHARGE_CTRL
+#if defined(HAVE_CHARGE_CTRL) || defined(HAVE_LIION)
/* zero battery run time if charging */
if (charge_state > 0) {
global_settings.runtime = 0;