[PATCH] prevent flood syslog if battery remaining time is above 60 hours

Danny Kukawka danny.kukawka at web.de
Mon Dec 3 05:04:37 PST 2007


On Samstag, 24. November 2007, Danny Kukawka wrote:
> Hi,
>
> this patch prevents to get the syslog flooded with "remaining_time *very*
> high, returning -1" warning messages on some laptops. With this patch the
> message get send only the first 10 times and then only 1 message for each
> 100 cases (we can changes this also to a higher number).
>
> We have this patch already since several months in the SUSE package, maybe
> it's usefull in general.

Any comments? Okay to commit?

Danny


More information about the hal mailing list