[Bug 260214] acpi_battery: Should provide current/max battery charge in Wh (wine expects them)
Date: Sat, 25 Dec 2021 14:05:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260214 --- Comment #5 from georg.lastname@web.de --- Or maybe we can calculate the remaining time even when charging. I'm not sure whether it would result in a bogus output. Maybe remove the second condition here: In src/sys/dev/acpi_battery (line 238): */ * If the queried battery has no discharge rate or is charging, * report that we don't know the remaining time. */ if (valid_rate == 0 || (battinfo->state & ACPI_BATT_STAT_CHARGING)) battinfo->min = -1; } -- You are receiving this mail because: You are the assignee for the bug.