Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964839AbWHCQdn (ORCPT ); Thu, 3 Aug 2006 12:33:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964846AbWHCQdn (ORCPT ); Thu, 3 Aug 2006 12:33:43 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:28844 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S964839AbWHCQdm (ORCPT ); Thu, 3 Aug 2006 12:33:42 -0400 Date: Thu, 3 Aug 2006 18:33:11 +0200 From: Pavel Machek To: Thomas Renninger Cc: Jean Delvare , Shem Multinymous , Vojtech Pavlik , "Brown, Len" , Matthew Garrett , kernel list , linux-thinkpad@linux-thinkpad.org, linux-acpi@vger.kernel.org, Henrique de Moraes Holschuh , Mark Underwood , Greg KH Subject: Re: Generic battery interface Message-ID: <20060803163311.GA11389@elf.ucw.cz> References: <20060728074202.GA4757@suse.cz> <41840b750607280814x50db03erb30d833802ae983e@mail.gmail.com> <20060728202359.GB5313@suse.cz> <41840b750607281548h5ee2219eka1de6745b692c092@mail.gmail.com> <41840b750607291406p2f843054rc89fa1c3c467688d@mail.gmail.com> <41840b750607301137t1e10fe88o3a1c73e7a4b4bf44@mail.gmail.com> <20060731233536.92b39035.khali@linux-fr.org> <20060731230145.GF3612@elf.ucw.cz> <20060802091841.8585a72a.khali@linux-fr.org> <1154604546.4302.482.camel@queen.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1154604546.4302.482.camel@queen.suse.de> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1041 Lines: 26 Hi! > One should also not rely on the warning/low capacity values. > I cannot say for sure whether all machines throw an event if these > limits are reached. We defined our own limits in userspace, this always > works. I'd go for not using the BIOS limits here at all and take user > defined capacity warning/low values (in percent) in hal or wherever. Well, this works okay for normal machines, but... there are strange machines around. If you have 10 hours of battery life (zaurus sl-5500) and hardcode warning to 10% of battery remainin... well you'll warn with 1 hour to go. Okay, this probably is not an issue on most notebooks today... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/