[PATCH] reduce useless changes on APM battery.remaining_time

Danny Kukawka danny.kukawka at web.de
Wed Aug 16 09:37:26 PDT 2006


On Sunday 07 May 2006 11:44, Richard Hughes wrote:
> How about a compromise... What about updating it every 30 seconds? That
> gives g-p-m sub-minute resolution (which as you point may be incorrect
> anyway) and reduces the bus traffic by 7.5x.

Only to get this off my stove: I'm not a fan of 30 seconds, but here is a new 
version.

Okay now to commit?

Danny

 apm.c |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-apm-poll_battery_reduce_events_v2.diff
Type: text/x-diff
Size: 2234 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060816/fa1adc0a/hal-fix-apm-poll_battery_reduce_events_v2.bin


More information about the hal mailing list