power: android-battery: Allow changing current in charging state
authorDanke Xie <d.xie@sta.samsung.com>
Tue, 16 Oct 2012 22:24:41 +0000 (15:24 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:12 +0000 (14:16 -0700)
commit552584f55d43677d46edaec00b2d1aad4337d657
treee71bbb44701be787ea18504db90ff504d4f9567f
parent90acaa4de6ac63fda8bfa4f605de89ddd7019bda
power: android-battery: Allow changing current in charging state

When a new charge source is set, enable charging and set the charging
current, unless we've paused charging due to battery full or battery
health problems.

Change-Id: I129e621c455a941e264dc431b4eb9db6a17c9f7b
Signed-off-by: Danke Xie <d.xie@sta.samsung.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/power/android_battery.c