From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Zeuthen Date: Thu, 12 Nov 2009 17:43:52 +0000 Subject: Re: can't seem to ignore a battery Message-Id: <1258047832.2409.1.camel@localhost.localdomain> List-Id: References: <29507.1258042014@foxharp.boston.ma.us> In-Reply-To: <29507.1258042014@foxharp.boston.ma.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, 2009-11-12 at 17:33 +0000, Richard Hughes wrote: > 2009/11/12 David Zeuthen : > > You probably want a feature in DeviceKit-power so you can set the udev > > property DKP_PRESENTATION_HIDE to 1 so the daemon can convey to users > > (such as gnome-power-manager) that a given device should be ignored for > > presentation and/or policy. > > Sure, I would accept a patch for this in DeviceKit-power -- it would > probably be a couple of lines of code. It would probably more than a couple of lines of code - what I was trying to say was that you want a property on each device object that e.g. gnome-power-manager can read. And then you need the policy agents (e.g. g-p-m) use this information. David