FS#845 - fm rec : battery display indicates incorrect values

Attached to Project: Rockbox
Opened by Anonymous Submitter - Tuesday, 28 January 2003, 20:47 GMT
Last edited by Daniel Stenberg (bagder) - Friday, 05 December 2003, 09:32 GMT
Task Type Bugs
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


battery display indicates too low charge...and is blinking

fm recorder build 2003-01-28 17:20:00
This task depends upon

Closed by  Daniel Stenberg (bagder)
Friday, 05 December 2003, 09:32 GMT
Reason for closing:  Fixed
Comment by Mike Holden (mikeholden) - Wednesday, 12 February 2003, 21:11 GMT

Battery level runs from 1.8 volts to 3.4 volts, and decay seems fairly steady.
Patch file for voltages and voltage curve available at
Comment by Björn Stenberg (zagor) - Tuesday, 18 March 2003, 14:36 GMT

Is this still a problem?
Comment by Mike Holden (mikeholden) - Wednesday, 26 March 2003, 22:56 GMT

As promised on the mailing list, here's a patch to show the
charging status for the FM in the status bar and in the battery
debug screens..

Introduces a new #define HAVE_CHARGE_DETECT, which is
defined for recorder and FM models.

Replaces charge_state global variable with charger_status()
global function.

Compiles cleanly for all 3 models, but only tested on FM.
Comment by Mike Holden (mikeholden) - Thursday, 27 March 2003, 08:51 GMT

Posted the attachment to the mailing list. How do you attach a file here?
Comment by Anonymous Submitter - Saturday, 07 June 2003, 17:36 GMT

yeah my Jukebox is having the same problem of displaying
incorrect values...
Comment by R Rockbox (rockboxhype) - Tuesday, 24 June 2003, 17:27 GMT

you may not have set the correct battery mAh settings...

General -> System -> Battery Capacity :
change it to
- 2200mAh for FM recorder
- 1500mAh for older recorders, 1800mAh for newer recorders
(best to check this by openning yours up and seeing what the
battery capacity is)
Comment by Mike Holden (mikeholden) - Wednesday, 25 June 2003, 08:34 GMT

In what way are the values incorrect? What is it displaying,
and what sdo you think it SHOULD be displaying?

I am curious to know what people think the problem is here.
Comment by Björn Stenberg (zagor) - Thursday, 20 November 2003, 00:20 GMT

This is fixed in CVS.