From: taeyoung Date: Mon, 26 Dec 2016 06:27:54 +0000 (+0900) Subject: battery: remove battery error popups if health is good X-Git-Tag: accepted/tizen/3.0/common/20161227.102103~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=886a662db1957fc532ea97aeabe5f1e550bd08a6;p=platform%2Fcore%2Fsystem%2Fdeviced.git battery: remove battery error popups if health is good Change-Id: I0d6cf4ccd95fea6430c2d3dce2fcc3e6e7c27639 Signed-off-by: taeyoung --- diff --git a/src/battery/power-supply.c b/src/battery/power-supply.c index 737eed0..3900290 100644 --- a/src/battery/power-supply.c +++ b/src/battery/power-supply.c @@ -47,6 +47,8 @@ #define TEMPCOLD_NAME "Cold" #define OVERVOLT_NAME "Over voltage" +#define REMOVE_POPUP "remove_battery_popups" + #define BUFF_MAX 255 #define SIGNAL_CHARGEERR_RESPONSE "ChargeErrResponse" @@ -431,6 +433,7 @@ static void update_health(enum battery_noti_status status) pm_unlock_internal(INTERNAL_LOCK_POPUP, LCD_DIM, PM_SLEEP_MARGIN); health_status_broadcast(); abnormal_popup_timer_init(); + launch_system_app(APP_DEFAULT, 2, APP_KEY_TYPE, REMOVE_POPUP); } }