Date: Thu, 11 Dec 2014 13:05:49 -0800 From: Colin Percival <cperciva@freebsd.org> To: John Baldwin <jhb@freebsd.org>, freebsd-acpi@freebsd.org Subject: Re: ENXIOing non-present battery Message-ID: <548A072D.7090304@freebsd.org> In-Reply-To: <201412111408.50866.jhb@freebsd.org> References: <54840781.70603@freebsd.org> <201412111408.50866.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?548A072D.7090304>