Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2014 16:33:45 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, Colin Percival <cperciva@freebsd.org>
Subject:   Re: ENXIOing non-present battery
Message-ID:  <20141209162141.R48067@sola.nimnet.asn.au>
In-Reply-To: <CAJ-Vmo=c0f06JYs%2BK1GvCYjoSWdYqm3z_uti=6f6qEirQQ7Vzw@mail.gmail.com>
References:  <54840781.70603@freebsd.org> <CAJ-Vmokzdep71ty_ctvAEQSDvCsOQj15wQ8p96%2B3fCBtr8dvYg@mail.gmail.com> <54862F5E.4040909@freebsd.org> <CAJ-Vmo=c0f06JYs%2BK1GvCYjoSWdYqm3z_uti=6f6qEirQQ7Vzw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Dec 2014 15:27:10 -0800, Adrian Chadd wrote:

 > What's the output of acpiconf -i0 and acpiconf -i1?
 > 
 > I wonder if changing 'state' to something else would keep everything happy.

 > On 8 December 2014 at 15:08, Colin Percival <cperciva@freebsd.org> wrote:
 > > On 12/07/14 08:03, Adrian Chadd wrote:
 > >> How's this work on other systems? KDE on Linux doesn't lose its mind
 > >> if the second battery is totally flat.
 > >
 > > I just booted Ubuntu 14.04, and both "batteries" appear in /proc/acpi/battery;
 > > but BAT1 just shows "present: no" without any statistics, and the GUI shows
 > > the correct state for the single present battery.

And what does 'grep battery /var/run/dmesg.boot' have to say?  Normally 
with 2 batteries catered for and only one fitted you'd expect to see eg:

./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery0: <ACPI Control Method Battery> on acpi0
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery1: <ACPI Control Method Battery> on acpi0
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery0: battery initialization start
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery1: battery initialization start
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery0: battery initialization done, tried 1 times
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery1: battery initialization failed, giving up

cheers, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141209162141.R48067>