From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 1 17:39:54 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D655D16A41F for ; Mon, 1 Aug 2005 17:39:54 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8692C43D49 for ; Mon, 1 Aug 2005 17:39:52 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.33] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j71Hdpo5025938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 1 Aug 2005 10:39:52 -0700 Message-ID: <42EE5E58.1070707@root.org> Date: Mon, 01 Aug 2005 10:39:36 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: m.ehinger@ltur.de References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: No battery critical warning on Thinkpad t42 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: Mon, 01 Aug 2005 17:39:55 -0000 m.ehinger@ltur.de wrote: > i recognized that an my Thinkpad T42 i get no battery critical warnings! All i get is a battery low state. There is no guarantee that a given system generates critical warnings. It may be that your BIOS doesn't implement this. > hw.acpi.battery.state becomes 1 at discharge, 2 at recharge and 0 at full. Those are correct. > I get ACPI notifies from CMBAT at 4% and 38% with hw.acpi.battery.state: 1 and at 100% with hw.acpi.battery.state=0. > > Is that the correct behaviour? These doesn't seem to be anything wrong there. The battery is free to generate notifies whenever something has changed. The BIOS may have set trip points for those levels. > Is there an default action when battery becomes critical? No, just prints a message on console. We could initiate shutdown or suspend, but there are too many systems that report "critical" early or incorrectly. Also, a lot of systems don't resume properly so suspend isn't a good route either. -- Nate