From: Chanwoo Choi Date: Fri, 21 Sep 2012 04:20:05 +0000 (-0700) Subject: charger-manager: Support limit of maximum possible X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fcfe088e21aa0db9d62eaf565757def673efba6;p=pandora-kernel.git charger-manager: Support limit of maximum possible This patch check maximum possible duration of charging/discharging. If whole charging duration exceed 'desc->charging_max_duration_ms', cm stop charging to prevent overcharge/overheat. And if discharging duration exceed, charger cable is attached, after full-batt, cm start charging to maintain fully charged state for battery. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin Park Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed