Hi Bart,

thanks for the quick reply.

> Hmmmm. These events are actually hardware dependent, and if the new
> battery does not send them, there's not much you can do about it except
> perhaps polling. 

I was afraid that this might be the case. I checked again with acpid in
debug mode, there is a battery event every 60 - 70 minutes. :(

> I will consider adding a polling feature to laptop mode
> tools; it would be something like a cron job that runs every minute or
> so. It's a pretty heavyweight solution though. :-/ If you install a cron
> job that runs "/usr/sbin/laptop_mode auto" every minute, I expect it
> works again?

The cron job works fine, so a polling feature would be nice. For now, I
just put a new entry into the system crontab, but I will try to find a
somewhat more elegant (and perhaps configurable via the laptop-mode
config files) solution for the problem over the weekend.
At the moment I am not sure how to get a polling behaviour without using
cron, but I might have time to look into that as well. If you are
interested, I can send you my solution when it is finished. That might
take a few days, though.

Regards,

soenke



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to