Bug 104292 - battstat sucks up CPU
battstat sucks up CPU
Product: Red Hat Linux Beta
Classification: Retired
Component: gnome-applets (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mark McLoughlin
Mike McLean
: MoveUpstream, Triaged
Depends On:
  Show dependency treegraph
Reported: 2003-09-12 01:34 EDT by Joel
Modified: 2007-04-18 12:57 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-19 05:05:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joel 2003-09-12 01:34:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
The battstat sucks up too much CPU.  There is a patch that works:


The explanation there is better than I can give without stealing his

Version-Release number of selected component (if applicable):
severn version and rawhide version

How reproducible:

Steps to Reproduce:
1. run battstat on an inspiron 8500 from dell
2. type top
3.  look

Actual Results:  12% CPU or more being burned

Expected Results:  0% CPU being burned

Additional info:

I should have reported this a long time ago...
Comment 1 Havoc Pennington 2003-09-18 18:21:00 EDT
Surely this has been reported to bugzilla.gnome.org? If not it really needs to
be, I'm not sure why the patches at that URL are being maintained separately.
Comment 2 David Moore 2003-10-11 12:50:50 EDT
Yes, it's been reported upstream here:


However, I think the gnome-applets maintainers might need a nudge to get this
patch merged.  Any help with that would be appreciated.  I know debian also has
a bug filed on this problem.
Comment 3 Joel 2003-10-11 13:04:14 EDT
Patched versions of 2.4.1 applets are at:


sorry for the lame index.html file
Comment 4 Damian Menscher 2003-11-11 23:04:29 EST
It appears that it was fixed up-stream as of 2003-10-22.  Would be 
really nice if that could be released as an update to fedora sometime 
Comment 5 Robert Brimhall 2003-11-12 22:01:19 EST
This patch is great but the ac/battery status icon does not update
most of the time when unplugging and plugging in the ac... is there a
way to have the battery polled as is in the patch but maybe have the
ac polled more frequently?
Comment 6 David Moore 2003-12-11 22:49:20 EST
If anyone is still have problems with the patched version of battstat,
please try the patch here:


It fixes an important bug in my earlier patch that may cause the AC
icon to not update properly, especially observed with Fedora users.
Comment 7 Mark McLoughlin 2004-07-19 05:05:56 EDT
So, this should all be fixed in Fedora Core 2, right?
Comment 8 Joel 2004-07-19 14:23:59 EDT
right.  seems fixed to me so far.

Note You need to log in before you can comment on or make changes to this bug.