Lines Matching defs:remaining_time
177 libhal_device_remove_property(ctx, udi, "battery.remaining_time",
288 int remaining_time;
395 remaining_time = util_compute_time_remaining(udi, reporting_rate,
398 * Some batteries give bad remaining_time estimates relative to
401 if (charging && ((remaining_time < 30) || ((remaining_time < 300) &&
403 remaining_time = util_compute_time_remaining(udi,
421 * where the remaining_time cannot be correct.
425 remaining_time = 0;
427 if (remaining_time < 0) {
430 "battery.remaining_time", &error);
431 } else if (remaining_time >= 0) {
433 "battery.remaining_time", remaining_time);