Re: acpi battery rework patch

From: Eric Kjeldergaard <kjelderg_at_gmail.com>
Date: Wed, 27 Jul 2005 02:32:48 +0900
On 7/26/05, Jeremie Le Hen <jeremie_at_le-hen.org> wrote:
> Hi Nate,
> 
> > >- Battery:
> > >hw.acpi.battery.life: 87
> > >hw.acpi.battery.time: 103
> > >hw.acpi.battery.state: 1
> > 
> > Completely fine.  Time should be -1 (unknown) while on AC power.  And 
> > state is "discharging" when on battery.
> > 
> > >- AC:
> > >hw.acpi.battery.life: 70
> > >hw.acpi.battery.time: -1
> > >hw.acpi.battery.state: 2
> > 
> > This is fine.  On AC power and state is charging.
> > 
> > >- Battery:
> > >hw.acpi.battery.life: 70
> > >hw.acpi.battery.time: 125
> > >hw.acpi.battery.state: 1
> > 
> > Time is valid and state is "discharging".
> 
> 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"
> 

Along the same lines, I notice the following:

<root_at_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?  

-- 
If I write a signature, my emails will appear more personalised.
Received on Tue Jul 26 2005 - 15:32:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC