From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Hughes Subject: Re: [GIT PULL RFC] directly poll battery strength when reading power_supply Date: Wed, 7 Dec 2011 12:51:40 +0000 Message-ID: References: <4EC75224.7070207@goop.org> <4EC820F8.4070900@goop.org> <4ECA7E7D.80207@goop.org> <4ECAE019.4000409@goop.org> <4ECCB38A.8000503@goop.org> <4ED90E6D.8090402@goop.org> <4ED9BDF8.3010600@goop.org> <4EDE4C7A.1010802@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:60206 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159Ab1LGMvl convert rfc822-to-8bit (ORCPT ); Wed, 7 Dec 2011 07:51:41 -0500 Received: by mail-ee0-f46.google.com with SMTP id d41so425160eek.19 for ; Wed, 07 Dec 2011 04:51:40 -0800 (PST) In-Reply-To: <4EDE4C7A.1010802@goop.org> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Jeremy Fitzhardinge Cc: Daniel Nicoletti , linux-input@vger.kernel.org, Jiri Kosina , vojtech@ucw.cz, Przemo Firszt , Richard Hughes , Anton Vorontsov , David Woodhouse On 6 December 2011 17:10, Jeremy Fitzhardinge wrote: > Something like =C2=A0HID UPS would appear to be in the middle of the = USB > devices, but actually powers the whole machine (or more). Right, although I think we still need an explicit "is_powering_computer" flag or something exposed to userspace ortherwise we're back to heuristics and hand coded quirks. > And if the device being pointed to is a mouse, then upower knows its > powering a mouse. Define "mouse" -- an input devices with two axis? I think an explicit type might be clearer. Richard. -- To unsubscribe from this list: send the line "unsubscribe linux-input" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html