ENXIOing non-present battery
Colin Percival
cperciva at freebsd.org
Thu Dec 11 21:08:44 UTC 2014
On 12/11/14 11:08, John Baldwin wrote:
> On Sunday, December 07, 2014 2:53:37 am Colin Percival wrote:
>> On my Dell Latitude E7440 laptop, the ACPI reports two batteries: First
>> the battery which exists; and second, a "Not Present" battery with zeroed
>> statistics. FreeBSD, not realizing that this second battery is a complete
>> myth -- the E7440 only has one battery, and there is nowhere to add another
>> -- faithfully reports the data from ACPI to userland.
>
> Does setting hint.battery.1.disabled=1 work for you?
That fixes the dev.battery sysctls and KDE's battery monitor. The
hw.acpi.battery.units sysctl still reports "2", and `acpiconf -i 1`
still reports the phantom battery; but I suppose those don't matter
much...
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
More information about the freebsd-acpi
mailing list