FS#1655 - Battery Status

Attached to Project: Rockbox
Opened by Anonymous Submitter - Monday, 25 August 2003, 12:50 GMT
Last edited by Daniel Stenberg (bagder) - Friday, 05 December 2003, 09:46 GMT
Task Type Bugs
Category Drivers
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I have two of the FM Recorder 20gig units with standard
Archos software and the 8/25 load of Rockbox and am
having a problem with the battery status. I am careful
to power the unit on and let RockBox load before I plug
in the charger. After charging overnight and the display
shows fully charged I can shut it off and turn it back on
and the battery display shows empty and sometimes is
flashing. If I turn it off again and then back on
(sometimes I have to do it several times) it will show the
correct amount of charge. Both units do the same thing.


This task depends upon

Closed by  Daniel Stenberg (bagder)
Friday, 05 December 2003, 09:46 GMT
Reason for closing:  Fixed
Comment by Anonymous Submitter - Monday, 25 August 2003, 22:30 GMT

I've also noticed this problem. After fully charging my FM20
Recorder, it says I have a 7% (0h 43m) charge. If I ignore
the status and start playing, the charge gradually increases.
For example, I started playing last week at 7%. Ten minutes
later it had a 15% charge and then was up to 25% after
another ten minutes.
Comment by Anonymous Submitter - Tuesday, 26 August 2003, 21:38 GMT

I also am having EXACTLY the same problem. I'm just glad it's
not my unit. This seems pretty widespread because I've seen
others complain about the same thing too.
Comment by Mike Holden (mikeholden) - Wednesday, 27 August 2003, 08:16 GMT

This is simply the way the code works. Because the battery
power can jump up and down quite a lot because of changes
in power usage, there is code in place to smooth the
displayed level so that the value isn't jumping around a lot.
THe value will stabilise eventually, but this can take a while.

This code could maybe do with some additional refinement,
especially on the FM model, where the power seems more
stable, maybe because of the different battery type.
Comment by Chris J. Friesen (darth_sebulba04) - Saturday, 06 September 2003, 15:18 GMT

I can only say I've seen this problem with the daily builds,
not the official stable release. Interesting it seems
random to do it, Sometimes it does it to me 3 times in a row
of powering on and off and sometimes it won't do it for days.
Comment by Anonymous Submitter - Monday, 15 September 2003, 01:10 GMT

I am having the same issue with my FM Recorder. Currently
using CVS-030903 (Flashed) and usually when I turn the unit
on I have a battery level of around 7. Sometimes the player
shuts itself off because of the low battery level, other times
when I get it to stay on and play for a while, the level starts
to increase. I've had it increase to over 50 given enough
time and a full charge the night before! This can be such a
serious problem sometimes that I have to boot into the
factory operating system and use it for a while because
RockBox thinks the battery is dead when the factory OS says
its full.

Love RockBox otherwise... if we can only fix this glitch it will
be perfect! Thanks guys!

Mike S.
Comment by Mike Holden (mikeholden) - Monday, 15 September 2003, 08:48 GMT

Rockbox NEVER turns the unit off because of low power. If it
powers off, it's because the hardware cannot operate
because of a low battery.

All the battery charging is done by hardware on the FM unit.
Rockbox has no control over it whatsoever.
Comment by Joe Hezina (joshez) - Wednesday, 29 October 2003, 02:30 GMT

I have the very same problem. Archos recorder 20G, firmware
Comment by Björn Stenberg (zagor) - Thursday, 20 November 2003, 00:10 GMT

This is fixed in CVS. Try the latest daily build.