summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 772e932..571ab09 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -820,7 +820,7 @@ bool view_battery(void)
snprintf(buf, 30, "resulting act.lev: %d%%", battery_level());
lcd_puts(0, 5, buf);
- snprintf(buf, 30, "Est. remaining: %d m", powermgmt_est_runningtime_min);
+ snprintf(buf, 30, "Est. remaining: %d m", battery_time());
lcd_puts(0, 6, buf);
#ifdef HAVE_CHARGE_CTRL