From owner-freebsd-mobile@FreeBSD.ORG Sun Aug 29 14:09:20 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D6AC10656A3 for ; Sun, 29 Aug 2010 14:09:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C46538FC15 for ; Sun, 29 Aug 2010 14:09:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o7TE9HcY020686; Mon, 30 Aug 2010 00:09:17 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 30 Aug 2010 00:09:16 +1000 (EST) From: Ian Smith To: kuba guzik In-Reply-To: Message-ID: <20100829235431.J86162@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: acpi shows wrong battery state X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 14:09:20 -0000 On Sat, 28 Aug 2010, kuba guzik wrote: > Hi! > > On my hp pavilion dv7 1299ew laptop running on FreeBSD 8.1 battery indicator > is showing -1%. There was no such problem in earlier version, 8.0. I don't > know how to solve this problem, on local polish bsd forum people say that > this is bug. > > #acpiconf -i batt > Design capacity: 0 mWh > Last full capacity: 0 mWh > Technology: primary (non-rechargeable) > Design voltage: 0 mV > Capacity (warn): 0 mWh > Capacity (low): 0 mWh > Low/warn granularity: 0 mWh > Warn/full granularity: 0 mWh > Model number: > Serial number: > Type: > OEM info: > State: not present > Voltage: 0 mV No battery information, though 1 battery is detected below. > $ sysctl -a | grep acpi [..] > hw.acpi.battery.life: -1 > hw.acpi.battery.time: -1 -1 means unknown or unavailable. > hw.acpi.battery.state: 7 That's either 'critical discharging', or 'critical charging' (normally, but it seems all the battery information is wrong and/or missing here) > hw.acpi.battery.units: 1 > hw.acpi.battery.info_expire: 5 > hw.acpi.acline: -1 Even AC online/offline status is unknown. Does the machine operate properly on battery, if you remove AC power? > hw.acpi.thermal.tz0.temperature: -273,2C Absolute zero :) Did it used to show the proper temperatures on 8.0? Please post your /var/run/dmesg.boot cheers, Ian