diff options
| author | Uwe Freese <thebreaker@rockbox.org> | 2002-12-15 18:10:19 +0000 |
|---|---|---|
| committer | Uwe Freese <thebreaker@rockbox.org> | 2002-12-15 18:10:19 +0000 |
| commit | c83374b69f6e904fbc96dcd01ab6917820209e33 (patch) | |
| tree | e15c9e4f16bc9fe95fe0f25512b0656dc4ed34ca /apps/debug_menu.c | |
| parent | f3d010a0571cfc35fa02b023080f36cf55a6a3e8 (diff) | |
| download | rockbox-c83374b69f6e904fbc96dcd01ab6917820209e33.zip rockbox-c83374b69f6e904fbc96dcd01ab6917820209e33.tar.gz rockbox-c83374b69f6e904fbc96dcd01ab6917820209e33.tar.bz2 rockbox-c83374b69f6e904fbc96dcd01ab6917820209e33.tar.xz | |
show charge_state in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d4e28ab..ed13fac 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); |