[Gta04-owner] bq27000-battery: battery is not calibrated! ignoring capacity values
psonek2 at seznam.cz
Tue Feb 5 10:22:15 CET 2013
On Tuesday, February 05, 2013 08:36:43 AM Dr. H. Nikolaus Schaller wrote:
> So what do we do if the charge_full value is not available?
> I can propose to use the battery voltage and simply estimate the filling
> level by
> 100 * (Vbatt - 3300 mV) / (4250 mV - 3300 mV) => charge level in %
> This is a rough estimate (and may indeed become negative some minutes
> before the device shuts off - the GTA04 works down to ca. 3.2V).
> And reading the real Vbatt goes through the hwmon
> (/sys/devices/platform/twl4030_madc_hwmon/in12_input). For sample code see
> This also works with the GTA01 battery.
This sounds good. I think i'll do it that way in QtMoko then...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gta04-owner