[patch] Add refresh event

Richard Hughes hughsient at gmail.com
Tue Jul 3 08:47:06 PDT 2007


On Tue, 2007-07-03 at 12:23 +0100, Richard Hughes wrote:
> On Tue, 2007-07-03 at 12:22 +0100, Richard Hughes wrote:
> > Some stuff in sysfs now sends out uevents when values change. A good
> > example of this is the power_supply class which sends out a uevent when
> > the percentage value changes or the battery or ac adapter is removed.
> > 
> > At the moment we ignore the uevents, but the attached patch adds a
> > refresh() method that can be used to update the values.
> > 
> > Please review,
> 
> Urh, with the correct patch this time.

As agreed on IRC, committed.

Richard.




More information about the hal mailing list