Uwe Freese
8ed1a3a409
LiIon values for FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3169 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 11:27:44 +00:00
Uwe Freese
b1b968a71e
LiIon voltages for FM recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3164 a1c6a512-1295-4272-9138-f99709370657
2003-01-26 17:33:56 +00:00
Uwe Freese
430a354dfe
better estimated running time for usb mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3047 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 20:16:37 +00:00
Björn Stenberg
c3fd67c6c9
Killed a dozen global variables
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Uwe Freese
0bf70e65e8
battery capacity (1500-2400 in 50mAh steps) saved to disk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3008 a1c6a512-1295-4272-9138-f99709370657
2002-12-16 22:58:48 +00:00
Uwe Freese
f3d010a057
charger on if battery low at boot time, battery capacity settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3000 a1c6a512-1295-4272-9138-f99709370657
2002-12-15 18:08:06 +00:00
Uwe Freese
c29b538440
battery capacity setting function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2997 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:46:00 +00:00
Uwe Freese
207f4d20f2
no inclusion of apps/settings.h anymore (simulator build error), new enable_trickle_charge function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2995 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:05:01 +00:00
Uwe Freese
0f30f66c6c
max charge duration now depends on batt. capacity and is a little longer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2992 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 21:01:32 +00:00
Uwe Freese
82785295f9
new charge state variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2990 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 15:47:34 +00:00
Uwe Freese
5f02797b2e
added trickle charge
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2982 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 12:10:29 +00:00
Linus Nielsen Feltzing
b43dba8760
Sleep timer, inspired by Jim Hagani
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2918 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:41:50 +00:00
Björn Stenberg
f09c5f4c63
Finally, merged the improved power code from Uwe Freese:
...
- The battery level (percentage) is more realistic and considers if the charger is on.
- It considers the "lazyness" a battery shows when the charging has just turned on or off (see below). But this is not perfect by now.
- The battery level is good enough to estimate the remaining running time and the remaining charging time. And so the info screen now shows this info.
- The maximum time of a charging cycle is now dynamically calculated out of the battery level (percentage) and is not a fixed value.
- A minimum of 60 minutes is waited after a charging cycle stops before another one starts.
- Added another screen in the battery debug screen (press down three times).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2913 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:18:51 +00:00
Linus Nielsen Feltzing
083a6dbc4e
Auto-poweroff, by Lee Marlow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2374 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:42:48 +00:00
Heikki Hannikainen
834a3c2509
Charge longer, deeper, better. Also restart charging already at 95%, since
...
90% is already pretty empty.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1900 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 20:09:13 +00:00
Heikki Hannikainen
a4cb4aff7b
Tune charging algorithm: use more voltage samples (4 per minute) and discard
...
samples taken while the disk is spinning. If no 'disk idle' samples are
available, use the ones we have anyway (yeah, maybe we could interpolate too).
Also tuned the deltas detection too, and fixed some comments. This seems to
work quite a bit better for me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1682 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 12:19:25 +00:00
Heikki Hannikainen
38c8a83779
Made battery_level() use the power history table to get an average battery level over the last 3 minutes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1589 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:30:39 +00:00
Heikki Hannikainen
6a3ff9c485
Set max charge time to 6 hours (overcharge backup protection)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1552 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 11:47:56 +00:00
Heikki Hannikainen
3f809e716d
Added battery charger code for the recorder and battery voltage statistics keeping for all platforms.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1546 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 10:50:50 +00:00