power: android-battery: Add USB and AC battery power supplies
authorhongmin.son <hongmin.son@samsung.com>
Thu, 23 Aug 2012 20:11:30 +0000 (13:11 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:05 +0000 (14:16 -0700)
commitcb308ceb49b4a441f23d1253065420ad270a0b67
treeeb63d082a7c2ba2631cb4fddf12ca9895ed76f6a
parent2c5cfa4d04bf4eb0cbba57df718564c54bed6eda
power: android-battery: Add USB and AC battery power supplies

For reflecting board-level decisions on whether USB or AC charger
is connected, which may differ from charger power supply notion
of USB input path (which may be connected to an AC charger) vs.
AC input path.

Change-Id: I9d2eb446db8b4d9496ba7ce1472d0e7a4d4e24ef
[toddpoynor@google.com: refactoring]
Signed-off-by: hongmin.son <hongmin.son@samsung.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/power/android_battery.c