diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-11-22 16:53:46 +0900 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-12-16 22:43:23 -0800 |
commit | 0fa11dbc234268c4160b81f67220308dea3c156a (patch) | |
tree | f4a5b8b87de1c9a2797f262faa056d4a96df2a37 /drivers/power/reset | |
parent | 7605c0b0d384ec98f80abc6ac2148a6cd993026c (diff) | |
download | kernel_goldelico_gta04-0fa11dbc234268c4160b81f67220308dea3c156a.zip kernel_goldelico_gta04-0fa11dbc234268c4160b81f67220308dea3c156a.tar.gz kernel_goldelico_gta04-0fa11dbc234268c4160b81f67220308dea3c156a.tar.bz2 |
charger-manager: Fix bug related to checking fully charged state of battery
This patch fix bug related to checking fully charged state of battery when
charger-manager call is_full_charged() function. After reading property of
charger/fuel-gauge through power_supply API, val.intval is more than 1.
So, is_full_charged() function always return true. If true, battery means
fully charged state.
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/power/reset')
0 files changed, 0 insertions, 0 deletions