From 4bc287d34a40ce387c1c0d2049dc32dcc847f107 Mon Sep 17 00:00:00 2001 From: Uwe Freese Date: Wed, 18 Dec 2002 18:55:50 +0000 Subject: battery level 100% when trickle chg, only 1% per minute change allowed, ignore 25 min. after charge start/stop, get rid of old lazyness table (I hope this makes the battery display less confusing to the user, charging algo. is not affected\!) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3017 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'apps') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index ed13facf89..12f5e059e0 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -815,13 +815,7 @@ bool view_battery(void) power_history[POWER_HISTORY_LEN-1] % 100); lcd_puts(0, 3, buf); - snprintf(buf, 30, "Lazy time amount: %d%%", - (powermgmt_last_cycle_startstop_min < 20) - ? battery_lazyness[powermgmt_last_cycle_startstop_min] - : 0); - lcd_puts(0, 4, buf); - - snprintf(buf, 30, "resulting act.lev: %d%%", battery_level()); + snprintf(buf, 30, "battery level: %d%%", battery_level()); lcd_puts(0, 5, buf); snprintf(buf, 30, "Est. remaining: %d m", battery_time()); -- cgit v1.2.3