OSDN Git Service

qcom-charger: show correct battery status while charging via wireless
authorHarry Yang <harryy@codeaurora.org>
Tue, 28 Jun 2016 00:58:51 +0000 (17:58 -0700)
committerHarry Yang <harryy@codeaurora.org>
Wed, 13 Jul 2016 23:21:15 +0000 (16:21 -0700)
commit57cd771117b3f2aa4be7b264708a511ad12cf342
treea100f020c3d8527092582a743d0c87b89a5c9a8f
parent400520a6e2f06cc7c45e386e769a85d4aded565b
qcom-charger: show correct battery status while charging via wireless

POWER_SUPPLY_STATUS shows 'Discharging' when DCIN is the only charging
input, because current input online report is solely based on USB.
DCIN is included to fix the issue.

CRs-Fixed: 1034899
Change-Id: I58b8ca712a7900caf37bf79f5281fb3b6dab80f2
Signed-off-by: Harry Yang <harryy@codeaurora.org>
drivers/power/qcom-charger/smb-lib.c