[Gta04-owner] Battery charging issue
Radek Polak
psonek2 at seznam.cz
Tue Oct 8 12:03:38 CEST 2013
On Tuesday 08 October 2013 07:23:09 Adrien Dorsaz wrote:
> Le mardi 08 octobre 2013 à 09:09 +0200, Adrien Dorsaz a écrit :
> > The more strange is that I've an external battery and the GTA04 charge
> > well with it. The output of this battery is 5.3V / 1A and it has a
> > capacity of 10400 mA/h. I've noticed the charge was good with it
> > yesterday at 5pm (and right now too).
>
> It's even stranger... I have to use this battery and my USB2 cable and
> plug it when my phone is in suspend. Otherwise, with another shorter
> cable (certainly not usb2) and during no suspend it won't work...
Hi Adrien,
this could be some bug in QtMoko new charging code. It could be that QtMoko
fails to increase charging current (that's the value "USB max current" in
NeoControl screen) so it stays at 100mA which is too low. If you suspend the
phone it will charge very slowly, but when it's on it will discharge.
Can you try if it charges when you boot from NAND or some older versions (e.g.
non upgraded QtMoko v56)?
For debugging it would be useful to know contents of
/sys/class/power_supply/bq27000-battery/uevent
/sys/class/power_supply/twl4030_usb/uevent
/sys/bus/platform/drivers/twl4030_bci/twl4030_bci/max_current
/sys/bus/platform/devices/twl4030_usb/vbus
after you plug USB connector in.
You can also try:
echo Y > /sys/module/twl4030_charger/parameters/allow_usb
if that makes any difference.
Regards
Radek
More information about the Gta04-owner
mailing list