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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Dec 2021 02:24:31 UTC

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
             Status|New                         |Open
            Summary|[wine] acpi_battery should  |acpi_battery: Should
                   |provide current/max battery |provide current/max battery
                   |charge in Wh                |charge in Wh (wine expects
                   |                            |them)
           Keywords|                            |needs-patch, needs-qa
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2298
                   |                            |18
                 CC|                            |allanjude@FreeBSD.org,
                   |                            |hrs@FreeBSD.org
              Flags|                            |maintainer-feedback?(hrs@Fr
                   |                            |eeBSD.org), mfc-stable13?,
                   |                            |mfc-stable12?

--- Comment #1 from Kubilay Kocak <koobs@FreeBSD.org> ---
@reporter, can you include (as an attachment) all hw.acpi.battery* sysctl OID

man acpi_battery also notes a ACPIIO_BATT_GET_BIX ioctl which can return tons
of information, in particular, among others..

 dcap    The Battery's design capacity,
 lfcap   Predicted battery capacity when fully charged. 
 dvol    Design voltage in mV

I am not sure to what extent this information is made available via sysctl

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