[Bug 260214] acpi_battery: Should provide current/max battery charge in Wh (wine expects them)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Dec 2021 14:08:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260214

georg.lastname@web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |georg.lastname@web.de

--- Comment #3 from georg.lastname@web.de ---
Why does wine care about battery capacity when we are charging anyways?

acpi.battery is an abstraction layer. A possible new sysctl
acpi.battery.capacity would therefore report the capacity of all batteries
combined.
For control method batteries it should be possible to get the last full
capacity of each battery, add those values, and report them to acpi.battery.

Not sure whether it's possible with smart batteries.



If it's a script, acpiconf(8) can be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.