Searched refs:remaining_percentage (Results 1 – 1 of 1) sorted by relevance
289 int remaining_percentage; in battery_dynamic_update() local315 remaining_percentage = libhal_device_get_property_int(ctx, udi, in battery_dynamic_update()317 if ((remaining_percentage == 100) && charging) { in battery_dynamic_update()393 remaining_percentage = util_compute_percentage_charge(udi, in battery_dynamic_update()402 (remaining_percentage < 95)) || (remaining_percentage > 97))) { in battery_dynamic_update()408 if (remaining_percentage > 0) { in battery_dynamic_update()410 "battery.charge_level.percentage", remaining_percentage); in battery_dynamic_update()416 if ((remaining_percentage == 100) && charging) { in battery_dynamic_update()423 if ((!charging && !discharging) || ((remaining_percentage == 100) && in battery_dynamic_update()