Searched refs:watts_left (Results 1 – 1 of 1) sorted by relevance
505 double watts_left = 0.0; in print_battery_proc_acpi() local533 watts_left = strtoull(c, NULL, 10) / 1000.0; in print_battery_proc_acpi()550 cap += watts_left + voltage * amperes_left; in print_battery_proc_acpi()671 double watts_left = 0.0; in print_battery_sysfs() local711 watts_left = 1; in print_battery_sysfs()719 watts_left = voltage; in print_battery_sysfs()723 watts_left *= strtoull(line, NULL, 10) / 1000000.0; in print_battery_sysfs()739 cap += watts_left; in print_battery_sysfs()