Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  4G iPod 1100mAh Battery Estimate
« previous next »
  • Print
Pages: [1]

Author Topic: 4G iPod 1100mAh Battery Estimate  (Read 2424 times)

Offline imaginal

  • Member
  • *
  • Posts: 8
4G iPod 1100mAh Battery Estimate
« on: August 20, 2008, 08:32:55 PM »
Hi there. I recently bought a 1100mAh battery replacement from kokopelli music for my 4G ipod. After fully charging it and setting the battery capacity option to 1100mAh, the estimated time left was 7h35min. I told them about this, and they said that the battery sounded defective, and sent me a new one.

I installed the new one, but it too only shows 7h35min of playback. Did I really get 2 defective batteries? Or is this something weird with rockbox? Thank you for all of your help!
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: 4G iPod 1100mAh Battery Estimate
« Reply #1 on: August 20, 2008, 08:39:05 PM »
That estimate is calculated based on your input of the battery capacity, and Rockbox's assumed power draw.  It has nothing to do with the condition of the battery - your first one was not defective, and neither is your replacement.
The battery estimates are known to be off on the iPods, didn't know it was that far off on the 4G, though.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline imaginal

  • Member
  • *
  • Posts: 8
Re: 4G iPod 1100mAh Battery Estimate
« Reply #2 on: August 21, 2008, 01:41:26 PM »
Strange. I ran 2 different rundown album/repeat tests. Both of them actually gave me 10 hours 20 minutes of real drain time. (battery_bench plugin) It still seems a little weak for the battery, but much better than 7.5 hours. Any way I can tweak the estimates?
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: 4G iPod 1100mAh Battery Estimate
« Reply #3 on: August 21, 2008, 03:25:04 PM »
Easiest way is to lie to Rockbox about your battery capacity.  (1516 mah should be about right) IF Rockbox lets you set a value that high.
Harder way is to post your battery benchmarks to the wiki and ask a developer to modify the discharge curve.
Harder way still is to do said work yourself.

Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline imaginal

  • Member
  • *
  • Posts: 8
Re: 4G iPod 1100mAh Battery Estimate
« Reply #4 on: August 21, 2008, 03:39:16 PM »
Lying only lets me go up to 1200mAh, so that really doesn't help. Where is the correct place to post the benchfile in the wiki?

Moreover, tweaking this myself sounds like a dangerous road, but where would I start to look?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: 4G iPod 1100mAh Battery Estimate
« Reply #5 on: August 21, 2008, 03:54:49 PM »
The "percent_to_volt_discharge" table in \firmware\target\arm\ipod\powermgmt-ipod-pcf.c contains the battery discharge curve (used for the battery meter itself), and the current use is in /firmware/export/powermgmt.h, although looking at that file there is no entry at all for the 4G which is probably why the estimate is nonsense.  I don't remember where the battery sizes are kept.

I'll commit a reasonable number for the 4G now, but it won't account for your larger battery.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: 4G iPod 1100mAh Battery Estimate
« Reply #6 on: August 21, 2008, 04:03:07 PM »
Quote from: imaginal on August 21, 2008, 03:39:16 PM
Where is the correct place to post the benchfile in the wiki?
http://www.rockbox.org/twiki/bin/view/Main/IpodRuntime

Please note the (improved) battery benchmark file naming conventions people have been using.  I think the last few 5th gen benchmark file names will point you in the right direction.

There are currently no attached battery bench files for the 4G - will be nice to see yours - and all the runtimes claimed are old enough (before some massive power-saving changes) to be worthless except as historical documentation.
« Last Edit: August 21, 2008, 04:15:17 PM by soap »
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline dannyboi

  • Member
  • *
  • Posts: 12
Re: 4G iPod 1100mAh Battery Estimate
« Reply #7 on: September 07, 2008, 02:36:44 AM »
I'm wondering what I should set the battery draw value in RockBox to, for my 5.5G 80GB iPod?

It goes from 500mah up to 1000mah.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: 4G iPod 1100mAh Battery Estimate
« Reply #8 on: September 07, 2008, 08:57:56 AM »
Quote from: dannyboi on September 07, 2008, 02:36:44 AM
I'm wondering what I should set the battery draw value in RockBox to, for my 5.5G 80GB iPod?

It goes from 500mah up to 1000mah.
That's not a "draw" value, that is the capacity value of your battery used when estimating runtime.
Your player came stock with a 600mAh battery.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  4G iPod 1100mAh Battery Estimate
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.08 seconds with 14 queries.