[Pkg-xfce-devel] Bug#331414: Bug#331414: Bug#331414: Bug#331414: Bug#331414: #331414: xfce4-battery-plugin Consumes too much CPU time

Michael Gilbert michael.s.gilbert at gmail.com
Tue Nov 11 22:09:24 UTC 2008


strace does show that xfce4-battery-plugin is indeed using the files in /sys now.

i've just removed the battery plugin,  but the spikes keep happening.  i looked at top, and found that xfce4-cpugraph-plugin and hald are now the processes that are causing the spikes.

i straced xfce4-cupgraph-plugin and found that it wasn't accessing any files.  however, stracing hald shows that it is reading the battery state files from /sys.  so, i think xfce4-battery-monitor is of the hook (for now), and the culprit is hald.

note that i've rebooted to stop any errant activity, and even before i login to xfce, i still find that hald is polling /sys every 10 seconds.  i'd say the bug belongs to hald, unless an xfce utility that told hald to do this.





More information about the Pkg-xfce-devel mailing list