]> git.baikalelectronics.ru Git - kernel.git/commit
charger-manager: Check fully charged state of battery periodically
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 21 Aug 2012 08:06:52 +0000 (17:06 +0900)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 05:07:49 +0000 (22:07 -0700)
commitbbdc71cf60794117e68ea53646fa7cbca167310c
treedd5e298b0102b3dcb611be6710a2bed536c2741b
parent437c5a8350741f13b18ca8c378540e344c977455
charger-manager: Check fully charged state of battery periodically

This patch check periodically fully charged state of battery to protect
overcharge and overheat. If battery is fully charged, stop charging and
check droped voltage with 'fullbatt_vchkdrop_ms' period. When voltage of
battery is more droped than 'fullbatt_vchkdrop_uV' voltage,
charger-manager will restart charging for battery.

Signed-off-by: Chanwoo Choi <cw00.choi@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 <anton.vorontsov@linaro.org>
drivers/power/charger-manager.c
include/linux/power/charger-manager.h