[patch] addon-hid-ups.c : battery.present is mandatory for HAL spec

David Zeuthen david at fubar.dk
Mon May 9 12:09:40 PDT 2005


On Mon, 2005-05-09 at 19:42 +0100, Richard Hughes wrote:
> On Mon, 2005-05-09 at 17:28 +0100, Richard Hughes wrote:
> <snip>
> > I'll work on a patch.
> 
> Attached, I know it's quick and dirty, but I wanted comments. 

Propose to make a generic function in hald/util.c and use it for both
APM, PMU and ACPI.

> How
> expensive is setting an int as a property, then getting it? 

Only rule is to not set it multiple times as each time setting it will
emit a notification.

David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list