Rockbox mail archive
Subject: Re: More FM Findings
From: Mike Holden (rockbox_at_mikeholden.uklinux.net)
Justin Heiner said:
>> 3) The power display doesn't show the
>> device as charging when it is plugged in.
When charger control was removed from the FM, one or two bits were
removed, even though the FM can still do them. I have added a couple of
those bits back already (like the "charger connected" symbol between the
power and volume icons in the status bar).
Two other bits are to do with sensing that the archos is currently
charging, and displaying appropriate information. This occurs in 2 screens
- the status bar where the battery icon repeatedly "fills up" when the
charger is active (which I think is the one you are on about!), and a line
in the battery debug screen which says when the charger is active.
Even though we do not control the charger, we can tell when the charger is
active by looking at AN7, which shows a value of 6 volts or higher when
the charger is active, and values around 3 volts or less when it is
inactive. I have used this AN7 value to add back the data in those two
screens. If the value is over 3.5 volts, we assume the charger is actively
charging the battery.
A patch is attached below (power.diff), and a firmware file is available
Page was last modified "Jan 10 2012" The Rockbox Crew