ACPI/PMU procfs HAL test program. Version 002.

Sjoerd Simons sjoerd at luon.net
Mon Jan 24 04:51:47 PST 2005


On Mon, Jan 24, 2005 at 12:31:08PM +0100, Danny Kukawka wrote:
> On Monday 24 January 2005 11:30, Paul Ionescu wrote:
> >
> > I think we can at least use this to pool at hald startup to populate the
> > database, and for further updates we maybe think more about them.
> 
> O.k. Maybe one way for further updates could be to update the battery related 
> values (and poll  /proc/acpi/battery/BAT0/state) only, if somebody ask for 
> the actuall values. Maybe the best way to reduce systemload.
> 
> > But IMHO powersave should listen for info from hald and not viceversa.
> 
> I understand your intention. In this case we should implement this as said 
> above, but I'm not shure about it.  I would avoid, that several programs try 
> to get battery information from proc. 
> 
> Is there a way to say HAL something like: "send me a message if a (defined) 
> value changed"?

Hal always sends out a message if property values change afaik. Though this
might be up for discussion as soon as we're going to monitor sensors and
stuff, as that will cause a lot of dbus traffic (at least my lightsensors
change a little all the time)..

  Sjoerd
-- 
"Our vision is to speed up time, eventually eliminating it."
		-- Alex Schure
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list