From: Grazvydas Ignotas Date: Sat, 24 Dec 2016 00:01:25 +0000 (+0200) Subject: twl4030_charger: increase end-of-charge current X-Git-Tag: sz_176 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f37fe9dc6b73c1cebd8be6bb45fd4f9f0623b79;p=pandora-kernel.git twl4030_charger: increase end-of-charge current The charger can only look at the current coming from the supply. In the USB case, the OTG hardware is active and drawing ~80mA, so even if the real charge current falls close to 0, the charger will see more and continue charging, which means 80mA default is a bad choice. On default OS this is not a problem because there is a daemon looking at the real charge current reported by bq27500, this change is more for people running custom OSes. Still a daemon should be preferred if possible because if pandora is continuously kept busy and with the screen on, the supply current may easily stay over 400mA (the maximum possible end-of-charge setting). --- Reading git-diff-tree failed