Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50625 Library:50543 in /sites/rockbox.org/flyspray/adodb/drivers/adodb-mysqli.inc.php on line 108 FS#7216 : Correction for iPOD Video/Nano battery type and consumption



FS#7216 - Correction for iPOD Video/Nano battery type and consumption

Attached to Project: Rockbox
Opened by Andree Buschmann (Buschel) - Saturday, 26 May 2007, 18:07 GMT
Last edited by Peter D'Hoye (petur) - Saturday, 14 July 2007, 14:42 GMT
Task Type Patches
Category Battery/Charging
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No


This patch is very tiny one. It defines the correct battery capacities for iPOD Nano and iPOD Video and defines realistic current consumptions. for both types.
For the two different battery types of iPOD Video (400mAh for 30GB and 600mAh for 60/80GB) there was inserted a new define which is configured to use 30GB-model as a default.
The current consumptions are calculated from the IpodRuntime wiki page.
This task depends upon

Closed by  Peter D'Hoye (petur)
Saturday, 14 July 2007, 14:42 GMT
Reason for closing:  Accepted
Comment by Dave Hooper (stripwax) - Tuesday, 29 May 2007, 21:34 GMT
Ideally the correct battery #define should be automatic based on what target you build for.
Comment by Andree Buschmann (Buschel) - Tuesday, 29 May 2007, 21:45 GMT
Please help me if missed it. Is there already a define to seperate between 30GB- and 60/80GB-iPods?

Otherwise I can simply delete this additional default-capacity for iPOD Videos and let the user set
the correct capacity for the current model with rockbox settings. At least the correction for iPOD
Nano battery capacity and the power consumption of Nano and Video would be helpful.
Comment by Douglas Valentine (Dwyloc) - Thursday, 31 May 2007, 11:39 GMT
Sounds goods to me.

I could the information in this related patch (http://www.rockbox.org/tracker/task/4998) for the ipod nano battery could also be merged into your patch?

I am not the original author of the patch but I believe he made the patch after making battery voltage level measurements with a multi meter.
Comment by Andree Buschmann (Buschel) - Thursday, 31 May 2007, 16:52 GMT
Yes, this can be merged. I also have tried to configure a more correct battery-type (LIION400) for iPOD Video 30GB.
Btw, as far as I know the batteries are Li-Ion, not Li-Poly. And the nano battery is 300mAh, not 340mAh.
Do you think the correction for Battery Scale factor can be also used for the iPOD Video?

Last question: Can you give any hint how to differ between 30GB and 60GB iPODs at compiletime?
Comment by Douglas Valentine (Dwyloc) - Thursday, 31 May 2007, 18:44 GMT
Yes you are correct, if the info on this web site is right http://ipodbatteryfaq.com/ipodbatteryandpower.html the nano has a 300mAh Li-Ion battery.

As for your other two question sadly I don't have the answers, maybe one of the core rockbox developers will step forward with some more info for you.
Comment by Andree Buschmann (Buschel) - Thursday, 31 May 2007, 18:45 GMT
Ok, added main parts of patch #4998 into this one. So, this patch contains:
- correct battery capacity for iPOD nano (300mAh), iPOD Video 30GB (400mAh) and iPOD Video 60/80GB (600mAh)
- new battery types for iPOD nano (BATT_LIION300) and for iPOD Video 30GB (BATT_LIION400)
- battery charge/discharge curves as well as level_shutoff- and level_dangerous-definitions (for iPOD nano took from patch #4998, for iPOD Video took from measurements upon battery_benchs)
- better values for current consumption for iPOD nano and iPOD Video (calculated from IpodRuntime-wiki)

- to check the current consumption of nano and Video when backlight is on
- to check charge/discharge/level_shutoff/level_dangerous for 60/80GB Video's (but maybe the assumption of similar behaviour to 30GB Video's is ok)

So, this patch isn't the 100% solution, but nevertheless hits reality much more than the actual Trunk-version.
Comment by Peter D'Hoye (petur) - Thursday, 12 July 2007, 23:12 GMT
Can you remove all TABs and sync to latest svn?
Comment by Andree Buschmann (Buschel) - Saturday, 14 July 2007, 10:44 GMT
Sync'ed to latest SVN #13878 and removed TABs.