diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-09-20 21:20:05 -0700 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-09-20 22:08:00 -0700 |
commit | 8fcfe088e21aa0db9d62eaf565757def673efba6 (patch) | |
tree | 5394f0f8ac6ec50f1ab158927c858a621b074127 /drivers/mfd/dm355evm_msp.c | |
parent | 2ed9e9b6530951b5b96185e6761119361a166d7a (diff) |
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 <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>
Diffstat (limited to 'drivers/mfd/dm355evm_msp.c')
0 files changed, 0 insertions, 0 deletions