N900 Hardware Charge Meter

Line 10: Line 10:
It also can be used for energy profiling - see [[N900_Hardware_Power_Consumption|this page on power use]].
It also can be used for energy profiling - see [[N900_Hardware_Power_Consumption|this page on power use]].
 +
 +
It is unclear if this chip is used at all by software in the phone by default.
 +
 +
There is no kernel driver in the default N900 software for this chip, a [http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/power/bq27x00_battery.c partial third party driver exists].
 +
This third party driver has some issues - for example - the 'current_now' value it exports is not mA, but needs multiplied by (3.57/n) - where n is the sense resistor in the n900.
 +
The sense resistor seems to be between 20 and 22mR - but no accurate measurements have been performed, and the schematic does not help with this.
 +
[[Category:N900 Hardware]]
[[Category:N900 Hardware]]
[[Category:N900 Hardware]]

Revision as of 10:32, 28 May 2010

There is a largely unused charge meter chip in the n900, a TI BQ27200.

It does not function properly in normal use with the stock BME as that usually turns off the phone before the threshold which would enable the charge monitor to properly learn the battery capacity.

In many phones, this chip would be integrated into the battery, which has a number of benefits, from more rapid temperature sensing of potentially dangerous conditions in the battery, to being able to swap the battery, and have the swapped batteries charge accurately measured instantly.

The n900 integrates this chip onto the motherboard.

With a replacement BME, it can learn battery capacity, and be used for useful life predictions.

It also can be used for energy profiling - see this page on power use.

It is unclear if this chip is used at all by software in the phone by default.

There is no kernel driver in the default N900 software for this chip, a partial third party driver exists. This third party driver has some issues - for example - the 'current_now' value it exports is not mA, but needs multiplied by (3.57/n) - where n is the sense resistor in the n900. The sense resistor seems to be between 20 and 22mR - but no accurate measurements have been performed, and the schematic does not help with this.