Date: Wed, 27 Jul 2005 02:32:48 +0900 From: Eric Kjeldergaard <kjelderg@gmail.com> To: Jeremie Le Hen <jeremie@le-hen.org> Cc: acpi@freebsd.org, Marcin Jessa <lists@yazzy.org>, freebsd-current@freebsd.org, Nate Lawson <nate@root.org> Subject: Re: acpi battery rework patch Message-ID: <d9175cad050726103274530a8@mail.gmail.com> In-Reply-To: <20050726135149.GG1610@obiwan.tataz.chchile.org> References: <d9175cad050723030041dd7387@mail.gmail.com> <42E29CAA.1020007@root.org> <d9175cad0507232047160cc758@mail.gmail.com> <20050724215818.55f951ae.lists@yazzy.org> <42E42F10.3030309@root.org> <20050725091221.106a0368.lists@yazzy.org> <42E5134F.706@root.org> <20050726011943.0abe83a0.lists@yazzy.org> <42E5C96C.9060105@root.org> <20050726135149.GG1610@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/26/05, Jeremie Le Hen <jeremie@le-hen.org> wrote: > Hi Nate, >=20 > > >- Battery: > > >hw.acpi.battery.life: 87 > > >hw.acpi.battery.time: 103 > > >hw.acpi.battery.state: 1 > >=20 > > Completely fine. Time should be -1 (unknown) while on AC power. And= =20 > > state is "discharging" when on battery. > >=20 > > >- AC: > > >hw.acpi.battery.life: 70 > > >hw.acpi.battery.time: -1 > > >hw.acpi.battery.state: 2 > >=20 > > This is fine. On AC power and state is charging. > >=20 > > >- Battery: > > >hw.acpi.battery.life: 70 > > >hw.acpi.battery.time: 125 > > >hw.acpi.battery.state: 1 > >=20 > > Time is valid and state is "discharging". >=20 > Where are these states documented ? What do you think of the idea of > using the following as a description for the hw.acpi.battery.state > sysctl ? > "0: battery full, 1: discharging, 2: charging" >=20 Along the same lines, I notice the following: <root@uninfectable> [~/mp3] #sysctl -d hw.acpi.battery hw.acpi.battery: hw.acpi.battery.life: hw.acpi.battery.time: hw.acpi.battery.state: hw.acpi.battery.units: hw.acpi.battery.info_expire: Any chance of descriptions being added to all? =20 --=20 If I write a signature, my emails will appear more personalised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9175cad050726103274530a8>