Re: acpi patch for dell laptop?

From: Stijn Hoop <stijn_at_win.tue.nl>
Date: Mon, 23 Jun 2003 19:07:54 +0200
On Mon, Jun 23, 2003 at 11:03:34AM -0600, Kenneth D. Merry wrote:
> On Mon, Jun 23, 2003 at 08:52:20 +0200, Stijn Hoop wrote:
> > On Sun, Jun 22, 2003 at 09:35:32PM -0600, Kenneth D. Merry wrote:
> > > On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
> > > > http://sandcat.nl/~stijn/freebsd/dell.php
> > > 
> > > It seems to work for me.  The ACPI warnings about zero length buffers go
> > > away at least.
> > 
> > Great. Do you also have working battery status now?
> 
> How do I figure that out?  Via the ACPI sysctls, or some other method?

ACPI sysctls was the method that didn't work without the patch on my Inspiron.

> When I unplug the power:
> 
>  - hw.acpi.battery.state goes from 0 -> 1
>  - hw.acpi.battery.time goes from 0 to 152
>  - hw.acpi.battery.life starts to go down

That looks like correct behaviour. The battery time can't be determined when
on AC power.

> Is there some tool that'll show battery info?

I don't know of one that uses the ACPI sysctls, maybe someone else?

> Also, what units are the temperature in?

1/10 Kelvin I've been led to believe.

HTH,

--Stijn

-- 
My server has more fans than Britney.
		-- Steve Warwick, from a posting at questions_at_freebsd.org

Received on Mon Jun 23 2003 - 08:07:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC