From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 19 13:52:14 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A081065677 for ; Fri, 19 Mar 2010 13:52:14 +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 677478FC17 for ; Fri, 19 Mar 2010 13:52:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o2JDqCG8063330; Sat, 20 Mar 2010 00:52:12 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 20 Mar 2010 00:52:12 +1100 (EST) From: Ian Smith To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: <1269000185.47240.28.camel@RabbitsDen> Message-ID: <20100319233643.G85436@sola.nimnet.asn.au> References: <20100315062028.GC52442@uriah.heep.sax.de> <20100317070428.GA2924@server.vk2pj.dyndns.org> <20100317074549.GC52442@uriah.heep.sax.de> <1268829363.6171.13.camel@RabbitsDen> <20100318195312.GQ52442@uriah.heep.sax.de> <1268963804.47240.16.camel@RabbitsDen> <20100319155246.L85436@sola.nimnet.asn.au> <1269000185.47240.28.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Joerg Wunsch , freebsd-acpi@freebsd.org Subject: Re: Funny battery values (nx6325) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 13:52:15 -0000 On Fri, 19 Mar 2010, Alexandre "Sunny" Kovalenko wrote: > On Fri, 2010-03-19 at 16:18 +1100, Ian Smith wrote: > > > > Out of sheer curiosity... what does acpiconf -i1 say? > > > > It should't be there, but .. I wondered about that too :) > > Actually, it should -- there is the second package > > Package (0x0D) > { > 0x01, > 0xFFFFFFFF, > 0xFFFFFFFF, > 0x01, > 0xFFFFFFFF, > 0x00, > 0x00, > 0x64, > 0x64, > "Travel", > "100000", > "LIon", > "Hewlett-Packard" > } > > complete with the separate _BIF and _BST methods and the parameter to > the C1AC method denoting battery number. Yes indeed. Sorry .. I meant that it shouldn't show as being present, thinking Joerg had implied that it had only the one battery fitted. > But this is likely the check for the presence of the second battery: > > ShiftLeft (0x01, Arg0, Local7) > C1A9 (0x01) > If (LEqual (C1AA (Local7), 0x0F)) > { > Return (0xFFFFFFFD) > } -3 seems to be the 'not present' / uninitialised value. It's likely meant to work - off AC - with either or both batteries fitted. > Still curious, though. Mmm. It still seems to come down to the wrong Design Capacity (equals Lastfull Capacity) being reported either by the battery itself, or being miscalculated by the EC. This value - still something like 1/18 of the expected capacity - is then propagated to the 5% and 1% values. Joerg, so how long does it really run on battery? If only 10 minutes or so, it looks like the battery is toast (and maybe lastfull, not design capacity is what's being reported for both?) If 2.5hrs or so, this may be 'only' a reporting issue? No more recent BIOS updates for it? cheers, Ian