summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlokilee73 <changjoo.lee@samsung.com>2017-08-24 20:33:52 +0900
committerlokilee73 <changjoo.lee@samsung.com>2017-08-24 20:42:36 +0900
commitd4b1174eb030a8498a3d6efea1cf30d2fec505f2 (patch)
treef652b03b5fa4dc2d03fb87483d9561ad9592d4d1
parent93ce83416d14fb92b3228d8619b69fba03727282 (diff)
downloaddeviced-accepted/tizen_3.0_common.tar.gz
deviced-accepted/tizen_3.0_common.tar.bz2
deviced-accepted/tizen_3.0_common.zip
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-xsrc/battery/lowbat-handler.c2
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)