static struct battery_status *battery;
static guint abnormal_timer;
-static void remove_health_popup(void)
-{
- int ret;
-
- ret = launch_system_app(APP_REMOVE, 2, APP_KEY_TYPE, REMOVE_POPUP);
- if (ret < 0)
- _E("Failed to launch remove battery popup(%d)", ret);
-}
-
static int check_power_supply_noti(void)
{
return 1;
return;
_D("Add plugins for battery notification.");
- plugin->remove_health_popup = remove_health_popup;
plugin->check_power_supply_noti = check_power_supply_noti;
ret = gdbus_signal_subscribe(NULL, DEVICED_PATH_SYSNOTI,