Dmitry Torokhov wrote:
Would you mind telling me what these applications are? Hopefully they
only poll "status" and not "info" file. And 2 seconds is definitely
too high. It would be nice if you could reduce "pollers" to just 1
application though.
Sure.. one is "allin1" a dockapp, one is cpufreqd (which polls the ac adaptor and not the battery),
then we have and the other is a script I wrote to poll every 60s or so to tickle my suspend script
when the battery drops to 5%
When I really want to beat it up I have another script (which is the 2s poll) that estimates battery
time remaining based on the delta of each percent drop in battery time (as my retarded acpi bios
just estimates it based on a 4 hr runtime with a linear division of the % left)
I've modified allin1 to poll about once a minute. I have to look closer at cpufreqd to see how that
one polls yet.
Regards,
Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]