Comment 4 for bug 113440

Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote : Re: [Bug 113440] Re: Xfce-4 battery monitor using too much cpu

Hi Eero,

 As you can see, this bug is marked Fix Released. Is this problem still
occurring on Hardy Alpha 2?

On Dec 22, 2007 6:40 AM, Eero Tamminen <email address hidden> wrote:

> > I had been monitoring cpu usage and every 1 sec, my cpu usage % would
> spike to 70-80%, I ran a "top" and located the spike.... Xfce-4 battery
> -p. The battery monitor is just really sucking alot of cpu usage for
> such a small app.
>
> CPU usage can disturb other applications, but when it comes to what kind
> of behavior drains battery most (once kernel uses dynticks and can make
> HW to sleep when it's not used), it's how often something wakes and how
> long.
>
> For example SDL programs might look completely idle when they are not
> doing anything (use 0% CPU according to top), but in reality they are
> are polling the system (very quickly) several times a second.
>
> In this case I think the main problem is that the thing wakes up once a
> sec. Battery state doesn't change that fast and plugging in a charger
> could/should send an event about it...
>
> --
> Xfce-4 battery monitor using too much cpu
> https://bugs.launchpad.net/bugs/113440
> You received this bug notification because you are a member of Xubuntu
> Team, which is a bug contact for xfce4-battery-plugin in ubuntu.
>

--
Cody A.W. Somerville