From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: Generic battery interface Date: Fri, 28 Jul 2006 01:36:15 +0100 Message-ID: <20060728003615.GA23477@srcf.ucam.org> References: <41840b750607271332q5dea0848y2284b30a48f78ea7@mail.gmail.com> <20060727232427.GA4907@suse.cz> <41840b750607271727q7efc0bb2q706a17654004cbbc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([217.147.92.49]:43661 "EHLO vavatch.codon.org.uk") by vger.kernel.org with ESMTP id S932071AbWG1AgZ (ORCPT ); Thu, 27 Jul 2006 20:36:25 -0400 Content-Disposition: inline In-Reply-To: <41840b750607271727q7efc0bb2q706a17654004cbbc@mail.gmail.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Shem Multinymous Cc: Vojtech Pavlik , "Brown, Len" , Pavel Machek , kernel list , linux-thinkpad@linux-thinkpad.org, linux-acpi@vger.kernel.org On Fri, Jul 28, 2006 at 03:27:00AM +0300, Shem Multinymous wrote: > Yes, I know -- tp_smapi does that too. And it's still negligible, > usually a few microseconds. With ACPI "smart" batteries, we're currently spending long enough on querying batteries that people are losing keystrokes. The same is true of several crummy APM implementations. On the other hand, I agree that it makes sense to leave polling in userspace rather than the kernel. Once we go tickless on portable hardware, there's going to be a pretty huge incentive to fix userspace in any case. -- Matthew Garrett | mjg59@srcf.ucam.org