diff options
author | lokilee73 <changjoo.lee@samsung.com> | 2017-08-24 20:33:52 +0900 |
---|---|---|
committer | lokilee73 <changjoo.lee@samsung.com> | 2017-08-24 20:42:36 +0900 |
commit | d4b1174eb030a8498a3d6efea1cf30d2fec505f2 (patch) | |
tree | f652b03b5fa4dc2d03fb87483d9561ad9592d4d1 | |
parent | 93ce83416d14fb92b3228d8619b69fba03727282 (diff) | |
download | deviced-accepted/tizen_3.0_common.tar.gz deviced-accepted/tizen_3.0_common.tar.bz2 deviced-accepted/tizen_3.0_common.zip |
Battery: fix a bug that battery is full without fully charged signalsubmit/tizen_3.0/20170825.083406submit/tizen_3.0/20170825.053155submit/tizen_3.0/20170825.021525submit/tizen_3.0/20170824.124306accepted/tizen/3.0/tv/20170827.222807accepted/tizen/3.0/mobile/20170827.222812accepted/tizen/3.0/common/20170828.112341accepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_common
When the battery is full, it should be set to BAT LEVEL FULL.
Change-Id: I63523e62f7a01faff98f49fa9c060fcd889c48fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
-rwxr-xr-x | src/battery/lowbat-handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battery/lowbat-handler.c b/src/battery/lowbat-handler.c index f6da9a21..748bfff8 100755 --- a/src/battery/lowbat-handler.c +++ b/src/battery/lowbat-handler.c @@ -558,7 +558,7 @@ static void change_lowbat_level(int bat_percent) if (battery.charge_full == CHARGING_FULL) now = VCONFKEY_SYSMAN_BAT_LEVEL_FULL; else - now = prev; + now = VCONFKEY_SYSMAN_BAT_LEVEL_HIGH; } else if (bat_percent > battery_info.warning) now = VCONFKEY_SYSMAN_BAT_LEVEL_HIGH; else if (bat_percent > battery_info.critical) |