projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3846f4b
)
Battery level vconf should be updated regardless of capacity
49/229349/1
author
Youngjae Cho
<y0.cho@samsung.com>
Tue, 31 Mar 2020 08:21:32 +0000
(17:21 +0900)
committer
Youngjae Cho
<y0.cho@samsung.com>
Tue, 31 Mar 2020 08:23:02 +0000
(17:23 +0900)
Change-Id: I71bdbd4423d87d7bc3277d7761c6f08f294ab477
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/battery/lowbat-handler.c
patch
|
blob
|
history
diff --git
a/src/battery/lowbat-handler.c
b/src/battery/lowbat-handler.c
index
905717f
..
90a5f02
100644
(file)
--- a/
src/battery/lowbat-handler.c
+++ b/
src/battery/lowbat-handler.c
@@
-601,10
+601,6
@@
static void change_lowbat_level(int bat_percent)
{
int prev, now, ret;
- if (cur_bat_capacity == bat_percent &&
- old_battery.charge_full == battery.charge_full)
- return;
-
ret = vconf_get_int(VCONFKEY_SYSMAN_BATTERY_LEVEL_STATUS, &prev);
if (ret < 0) {
_E("Failed to get vconf value for battery level status: %d", vconf_get_ext_errno());