battery: redefine battery level threshold
[platform/core/system/deviced.git] / src / battery / config.c
index 1595040..54e3da5 100644 (file)
@@ -58,8 +58,6 @@ static int load_config(struct parse_result *result, void *user_data)
                info->critical = atoi(value);
        else if (MATCH(name, "PowerOff"))
                info->poweroff = atoi(value);
-       else if (MATCH(name, "RealOff"))
-               info->realoff = atoi(value);
 
        return 0;
 }
@@ -78,6 +76,5 @@ void battery_config_load(struct battery_config_info *info)
                info->warning = -1;
                info->critical = -2;
                info->poweroff = -3;
-               info->realoff = -4;
        }
 }