From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Hegbloom Subject: Re: Warn user when battery goes critical Date: Mon, 05 Apr 2004 18:21:03 -0700 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1081214462.2348.35.camel@localhost.localdomain> References: <20040405211032.GA3575@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20040405211032.GA3575-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: ACPI mailing list List-Id: linux-acpi@vger.kernel.org On Mon, 2004-04-05 at 14:10, Pavel Machek wrote: > When battery is going critical, perhaps user should know? It already > helped me when power was turned off at expansion cord... > > + int res = acpi_battery_get_status(battery, &bst); If this patch goes in, PLEASE, create a way to turn that feature OFF or to control the interval at which it is run, since on some laptops (this one) the battery status BIOS call takes too long, interrupts are disabled then, and touch-pad and keyboard interrupts are lost, causing pointer warps, bouncy or "stickyyyyyyyyyyyy" keys, and keyboard lockouts. It is also probably the cause of a system hang during heavy network I/O. -- If you feel like the machines are conspiring against you, then it's time to perspire against the machines. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click