From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 15 06:20:31 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 31E54106568D for ; Mon, 15 Mar 2010 06:20:31 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id CE8CA8FC13 for ; Mon, 15 Mar 2010 06:20:30 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id DCAA31C; Mon, 15 Mar 2010 07:20:28 +0100 (MET) Date: Mon, 15 Mar 2010 07:20:28 +0100 From: Joerg Wunsch To: freebsd-acpi@freebsd.org Message-ID: <20100315062028.GC52442@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Funny battery values (nx6325) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 06:20:31 -0000 Funny battery configuration with 8-stable: remi# acpiconf -i 0 Design capacity: 279 mAh Last full capacity: 279 mAh Technology: secondary (rechargeable) Design voltage: 10800 mV Capacity (warn): 14 mAh Capacity (low): 3 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 00784 2006/10/04 Type: LIon OEM info: Hewlett-Packard State: high Remaining capacity: 99% Remaining time: unknown Present rate: 0 mA Voltage: 12424 mV The battery is declared as 55 Wh, which would correspond to 5.1 Ah (probably 3 x 2 x 18650 cells). When unplugging the AC supply, I get: remi# acpiconf -i 0 Design capacity: 279 mAh Last full capacity: 279 mAh Technology: secondary (rechargeable) Design voltage: 10800 mV Capacity (warn): 14 mAh Capacity (low): 3 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 00784 2006/10/04 Type: LIon OEM info: Hewlett-Packard State: discharging Remaining capacity: 98% Remaining time: 0:08 Present rate: 2064 mA Voltage: 11870 mV I'm not sure whether the "remaining time" is realistic or not. In the past (FreeBSD 6.x), it used to immediately shut down when unplugging AC since the battery state was always unknown. Now, FreeBSD 8.x is the first version that actually manages to survive running on batteries. This is an HP/Compaq nx6325. Any clues how to fix these values? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)