From owner-freebsd-current Thu Mar 6 22:38:12 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6891737B401 for ; Thu, 6 Mar 2003 22:38:10 -0800 (PST) Received: from gw.visp.com.au (gw.visp.com.au [202.6.158.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C8C143FB1 for ; Thu, 6 Mar 2003 22:38:09 -0800 (PST) (envelope-from george@visp.com.au) Received: from george.spyderweb.com.au (spyderweb.visp.com.au [202.6.158.151]) by gw.visp.com.au (8.12.6/8.12.6) with SMTP id h276d5lm062602; Fri, 7 Mar 2003 17:09:06 +1030 (CST) (envelope-from george@visp.com.au) Date: Fri, 7 Mar 2003 17:08:43 +1030 From: George Patterson To: Andre Guibert de Bruet 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> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Mar 2003 01:10:54 -0500 (EST) Andre Guibert de Bruet 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