summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2002-12-18 18:55:50 +0000
committerUwe Freese <thebreaker@rockbox.org>2002-12-18 18:55:50 +0000
commit4bc287d34a40ce387c1c0d2049dc32dcc847f107 (patch)
tree1ed74a100dca884d608c869eec4f6755e09e9845 /apps
parent012d1d5f903d5a4b090c3ce3d59bfba545a334c9 (diff)
downloadrockbox-4bc287d34a40ce387c1c0d2049dc32dcc847f107.tar.gz
rockbox-4bc287d34a40ce387c1c0d2049dc32dcc847f107.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c8
1 files changed, 1 insertions, 7 deletions
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)
815 power_history[POWER_HISTORY_LEN-1] % 100); 815 power_history[POWER_HISTORY_LEN-1] % 100);
816 lcd_puts(0, 3, buf); 816 lcd_puts(0, 3, buf);
817 817
818 snprintf(buf, 30, "Lazy time amount: %d%%", 818 snprintf(buf, 30, "battery level: %d%%", battery_level());
819 (powermgmt_last_cycle_startstop_min < 20)
820 ? battery_lazyness[powermgmt_last_cycle_startstop_min]
821 : 0);
822 lcd_puts(0, 4, buf);
823
824 snprintf(buf, 30, "resulting act.lev: %d%%", battery_level());
825 lcd_puts(0, 5, buf); 819 lcd_puts(0, 5, buf);
826 820
827 snprintf(buf, 30, "Est. remaining: %d m", battery_time()); 821 snprintf(buf, 30, "Est. remaining: %d m", battery_time());