show charge_state in debug menu

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3001 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Uwe Freese 2002-12-15 18:10:19 +00:00
parent f3d010a057
commit c83374b69f

View file

@ -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);