Home
last modified time | relevance | path

Searched refs:prev_bat_cap (Results 1 – 1 of 1) sorted by relevance

/external/autotest/client/profilers/powertop/src/
Dpowertop.c83 double prev_bat_cap = 0; variable
555 if (prev_bat_cap - cap < 0.001 && rate < 0.001) in print_battery_proc_acpi()
559 last_bat_cap = prev_bat_cap = cap; in print_battery_proc_acpi()
562 prev_bat_cap = last_bat_cap; in print_battery_proc_acpi()
568 show_acpi_power_line(rate, cap, prev_bat_cap - cap, time(NULL) - prev_bat_time); in print_battery_proc_acpi()
744 if (prev_bat_cap - cap < 0.001 && rate < 0.001) in print_battery_sysfs()
748 last_bat_cap = prev_bat_cap = cap; in print_battery_sysfs()
751 prev_bat_cap = last_bat_cap; in print_battery_sysfs()
757 show_acpi_power_line(rate, cap, prev_bat_cap - cap, time(NULL) - prev_bat_time); in print_battery_sysfs()