[patch] make ACPI event call libhal_device_rescan

David Zeuthen david at fubar.dk
Wed Mar 2 15:07:24 PST 2005


On Wed, 2005-03-02 at 22:34 +0000, Richard Hughes wrote:
>>I don't think this is needed at all - the polling doesn't incur any I/O
>>on hard drives or other battery intensive things; it's just reading data
>>exposed by the kernel in /proc.
>
>So why not twice a second and make the battery update interactive? Or
>even better why not a configure option rather than hard-coded. I think
>the battstat applet updates every second if that helps.

 o There's no real UI reason for polling more than every tenth second.

 o All this is is just a stopgap fix for the ACPI kernel driver not
   pushing the event as it should.

And I'm reluctant and grumpy enough to not add options and features when
it's not really needed.

David


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



More information about the Hal mailing list