power_supply: Add initial Charger-Manager driver
authorDonggeun Kim <dg77.kim@samsung.com>
Tue, 27 Dec 2011 09:47:48 +0000 (18:47 +0900)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 4 Jan 2012 04:08:27 +0000 (08:08 +0400)
commit3bb3dbbd56ea39e5537db8f8041ea95d28f16a7f
treeb660ceed66ef404530109f9670b63640bd2be4b6
parent00a159a5567232fbe1dd85bc611c55f53943b0fc
power_supply: Add initial Charger-Manager driver

Because battery health monitoring should be done even when suspended,
it needs to wake up and suspend periodically. Thus, userspace battery
monitoring may incur too much overhead; every device and task is woken
up periodically. Charger Manager uses suspend-again to provide
in-suspend monitoring.

This patch allows to monitor battery health in-suspend state.

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Documentation/power/charger-manager.txt [new file with mode: 0644]
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/charger-manager.c [new file with mode: 0644]
include/linux/power/charger-manager.h [new file with mode: 0644]