From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 27 22:33:32 2011 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 28663106564A for ; Wed, 27 Apr 2011 22:33:32 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id D93B68FC15 for ; Wed, 27 Apr 2011 22:33:31 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1QFD2c-00046Q-5M for freebsd-mobile@freebsd.org; Wed, 27 Apr 2011 23:17:02 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QFD2b-0007hi-UN for freebsd-mobile@freebsd.org; Wed, 27 Apr 2011 23:17:02 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p3RMH1c3063301 for ; Wed, 27 Apr 2011 23:17:01 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p3RMH18T063300 for freebsd-mobile@freebsd.org; Wed, 27 Apr 2011 23:17:01 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 27 Apr 2011 23:17:01 +0100 From: Anton Shterenlikht To: freebsd-mobile@freebsd.org Message-ID: <20110427221701.GA63285@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: acpiconf shows 100%, but laptop switches off 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: Wed, 27 Apr 2011 22:33:32 -0000 I'm new to this list, please don't shoot. My problem: full battery lasts only minutes. This is HP Compaq 6712s (amd64) running 9.0-CURRENT #5 r220040 There seem to be quite a few issues with this laptop, which I never had the time to analyse properly. For example, sound and wireless (both via pcmcia) don't work. Right now I'm trying to understand why the battery lasts only minutes. Sure, the battery is about 4 years old, but still.. While running on A/C I get: BUZI> acpiconf -i0 Design capacity: 1 mAh Last full capacity: 1 mAh Technology: secondary (rechargeable) Design voltage: 10800 mV Capacity (warn): 1 mAh Capacity (low): 1 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 03586 2007/11/13 Type: LIon OEM info: Hewlett-Packard State: high Remaining capacity: 100% Remaining time: unknown Present rate: 0 mA (0 mW) Present voltage: 12248 mV BUZI> uptime 9:17PM up 3:19, 2 users, load averages: 0.00, 0.00, 0.00 If I remove the power cord, I keep seeing the battery at 100% remaining capacity with acpiconf or via "sysctl hw.acpi.battery.life" (which is probably where acpiconf gets its data?) for about 20 minutes, then - boom, power off. That is 100% right until the laptop goes down. On reboot - 0%: BUZI> acpiconf -i0 Design capacity: 1 mAh Last full capacity: 1 mAh Technology: secondary (rechargeable) Design voltage: 10800 mV Capacity (warn): 1 mAh Capacity (low): 1 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 03586 2007/11/13 Type: LIon OEM info: Hewlett-Packard State: charging Remaining capacity: 0% Remaining time: unknown Present rate: 2850 mA (35074 mW) Present voltage: 12307 mV How can I analyse this problem further? Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423