Home
last modified time | relevance | path

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

/external/autotest/client/profilers/powertop/src/
Dpowertop.c84 time_t last_bat_time = 0; variable
556 last_bat_time = 0; in print_battery_proc_acpi()
557 if (!last_bat_time) { in print_battery_proc_acpi()
558 last_bat_time = prev_bat_time = time(NULL); in print_battery_proc_acpi()
561 if (time(NULL) - last_bat_time >= 400) { in print_battery_proc_acpi()
563 prev_bat_time = last_bat_time; in print_battery_proc_acpi()
564 last_bat_time = time(NULL); in print_battery_proc_acpi()
745 last_bat_time = 0; in print_battery_sysfs()
746 if (!last_bat_time) { in print_battery_sysfs()
747 last_bat_time = prev_bat_time = time(NULL); in print_battery_sysfs()
[all …]