manager battery

Marcelo
Anyone says how the s3c6410 use the energy by the lithium battery, because
i´m using one ci that charge the battery of the lithium and i want take in
the screen status of  battery, percentage of the charge. If you can help me
, thank you.

Ferite
Maybe with the ADC?

Marcelo
how Ferite?

Ferite
Put the voltage from the batteries to a voltage divider. Take the samples
from de divider to the board's ADC. You could determine what is the maximum
voltage when the battery is fully charged and the minimum when they are
full discharge. Having the extremes you could calculate where is the voltge
in a given moment. It wont be very accurate since the charge/discharge of
the LiIon batteries are not linear, but it would give your users an
aproximation.