From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Subject: Re: [GIT PULL] power_supply: add power supply scope Date: Thu, 8 Dec 2011 14:42:35 +0400 Message-ID: <20111208104235.GB1753@oksana.dev.rtsoft.ru> References: <4ED9BDF8.3010600@goop.org> <4EDE4C7A.1010802@goop.org> <4EDFA192.7000602@goop.org> <4EE015D1.5070005@goop.org> <20111208100204.GA31434@oksana.dev.rtsoft.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:62394 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057Ab1LHKmj (ORCPT ); Thu, 8 Dec 2011 05:42:39 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Richard Hughes Cc: Jeremy Fitzhardinge , David Woodhouse , Linux Kernel Mailing List , Daniel Nicoletti , linux-input@vger.kernel.org, Jiri Kosina , vojtech@ucw.cz, Przemo Firszt , Richard Hughes On Thu, Dec 08, 2011 at 10:05:46AM +0000, Richard Hughes wrote: > On 8 December 2011 10:02, Anton Vorontsov wrote: > > I see one problem with this approach. Userland will need patching > > to distinguish system and device power supplies. So, even with > > the patch applied, old userland will behave incorrectly. > > Userland will need patching anyway, as old versions of upower assumed > anything showing up in /sys/class/power_supply was powering the > system. Oh, makes sense then. But see my other email regarding a bit more universal scheme. Thanks, -- Anton Vorontsov Email: cbouatmailru@gmail.com