1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 23:21:53 +02:00

GTA02: set battery full charging current threshold to 2/32*Ichg

In most conditions the charger is unable to detect battery full status
because gsm modem continiously draws current directly from the battery.
This makes it less sensitive and therefore will cutoff charging properly.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Paul Fertser 2009-06-02 04:21:26 +04:00 committed by Nelson Castillo
parent 141b2bedfc
commit fd3fac5a54

View File

@ -103,7 +103,7 @@ const struct pcf50633_init pcf50633_init[] = {
{ PCF50633_REG_MBCC3, 0x19 }, /* 25/255 == 98mA pre-charge */
{ PCF50633_REG_MBCC4, 0xff }, /* 255/255 == 1A adapter fast */
{ PCF50633_REG_MBCC5, 0xff }, /* 255/255 == 1A usb fast */
{ PCF50633_REG_MBCC6, 0x00 }, /* cutoff current 1/32 * Ichg */
{ PCF50633_REG_MBCC6, 0x01 }, /* cutoff current 2/32 * Ichg */
{ PCF50633_REG_MBCC7, 0x00 }, /* 1.6A max bat curr, USB 100mA */
{ PCF50633_REG_MBCC8, 0x00 },
{ PCF50633_REG_MBCC1, 0xff }, /* chgena */