Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Dec 2021 02:24:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260214] acpi_battery: Should provide current/max battery charge in Wh (wine expects them)
Message-ID:  <bug-260214-227-QcAf4rVZ72@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260214-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260214

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
values

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
oid's

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260214-227-QcAf4rVZ72>