From c83374b69f6e904fbc96dcd01ab6917820209e33 Mon Sep 17 00:00:00 2001 From: Uwe Freese Date: Sun, 15 Dec 2002 18:10:19 +0000 Subject: [PATCH] show charge_state in debug menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3001 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d4e28ab2e2..ed13facf89 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -800,8 +800,10 @@ bool view_battery(void) case 3: /* remeining time estimation: */ lcd_clear_display(); - lcd_puts(0, 0, "Remaining time:"); - + + snprintf(buf, 30, "charge_state: %d", charge_state); + lcd_puts(0, 0, buf); + snprintf(buf, 30, "Cycle time: %d m", powermgmt_last_cycle_startstop_min); lcd_puts(0, 1, buf);