Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 01:54:52 -0500 (EST)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        George Patterson <george@visp.com.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: hw.acpi.battery.units not accurate
Message-ID:  <20030307015213.W31811@alpha.siliconlandmark.com>
In-Reply-To: <20030307170843.5f12422f.george@visp.com.au>
References:  <20030307010326.P31811@alpha.siliconlandmark.com> <20030307170843.5f12422f.george@visp.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 7 Mar 2003, George Patterson wrote:

> I have a Toshiba Satellite 1800 laptop (Mostly Acer subsystems). While
> the battery.time is incorrect (negative number), the
> hw.acpi.battery.units sysctl doesn't change when I swap out the battery.
>
> Batter Installed
> > sysctl hw.acpi.battery
> hw.acpi.battery.life: 99
> hw.acpi.battery.time: -1
> hw.acpi.battery.state: 2
> hw.acpi.battery.units: 1
> hw.acpi.battery.info_expire: 5
> Battery Removed
> > sysctl hw.acpi.battery
> hw.acpi.battery.life: -1
> hw.acpi.battery.time: -1
> hw.acpi.battery.state: 7
> hw.acpi.battery.units: 1
> hw.acpi.battery.info_expire: 5
>
> The battery time was being reported correct by apm under FreeBSD 4.7

-1 is the value that you get if you get the sysctl sample when the unit is
plugged in. Make sure that you disconnect the AC line when you sample...

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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