[maemo-users] Critical and others problems with hostmode

From: Jan Knutar jknutar at nic.fi
Date: Fri Mar 30 23:24:25 EEST 2012
On Friday 30 March 2012, James Brown wrote:
> On 29.03.2012 17:00, Pali Rohár wrote:
> > On Thursday 29 March 2012 16:49:01 James Brown wrote:
> >> Is there any way to get temperature without the
> >> bq27x00_battery module and, so, without stopping BME?
> >
> > Yes, directly via i2c bus from userspace. You need i2cget utility
> > and run it as root. Look at shadowjk bq27200.sh information
> > script at http://enivax.net/jk/n900/bq27200.sh
> Very thanks. That script indicates temperature.
> Interesting, what means "Cycle Count since Learning: 29 Total Cycle
> Count since last full reset: 134"? There are no HDD in the device :)

Battery charge/discharge cycles. The battery fuel gauge chip will count 
the capacity from full charge down to empty, and learn the battery's 
capacity. Due to the default settings, it takes about 4-5 such learning 
cycles before it learns the capacity correctly the first time. It's also 
actually a bit rare to have the chip learn capacity normally, because 
bme shuts down device before the threshold at which the chip considers 
the battery empty.

In any case, 29 means 29 charge/discharge cycles since the last cycle 
during which it could learn the battery capacity. 134 total 
charge/discharge cycles.

It gets reset if the battery is removed for a longer time.
More information about the maemo-users mailing list