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

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


On Fri, 7 Mar 2003 01:10:54 -0500 (EST)
Andre Guibert de Bruet <andy@siliconlandmark.com> wrote:

> Hi,
> 
> The hw.acpi.battery.units sysctl doesn't seem to be displaying the
> correct number of batteries. I'm trying this out on a Dell Latitude
> C800 with two batteries. The sysctl correctly returns '2', but this is
> also the value that it displays once either battery is swapped out.
> 
> hw.acpi.battery.time correctly (and immediately) reflects the addition
> / removal of either battery.
> 

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


George Patterson

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?20030307170843.5f12422f.george>