On 12/15/09 23:32, Somebody in the thread at some point said:
Yes, but in that case you might as well just purchase a coulomb
counter with a built-in accumulator and an I2C/SPI/microwire interface
save yourself some PCB space and cost (maybe)
Well, Pavel attempts to implement a "poor man's Coulomb counter" or at
least "poor man's Ampere meter" for devices that are not equipped with
any of it.
I think the "poor man's Coulomb counter" is a loser, the errors will
overwhelm you too rapidly. The estimated rate of discharge could work,
based on what clocks, regulators and so on are running, but I am not
sure how useful that number is really given you can't realistically
integrate it due to the big error it is bound to have.
I didn't see it mentioned yet but the biggest problem I saw with battery
state monitoring by voltage alone is what happens during charging: the
charger is artificially raising the voltage by an amount depending on
current limit in the charger and battery capacity level. That's what
you see when you go and look at battery voltage during charging.
Otherwise for L-ion batteries, looking at the voltage level alone,
filtered to remove GSM transmit slots etc, is really quite workable for
estimating charge status.
Zaurus-devel mailing list