After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 123545 - Battstat-applet cosumes too much of CPU with ACPI
Battstat-applet cosumes too much of CPU with ACPI
Status: RESOLVED DUPLICATE of bug 88553
Product: gnome-applets
Classification: Other
Component: battery
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 119909 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-30 11:00 UTC by Martin Perina
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (14.21 KB, patch)
2003-09-30 13:14 UTC, Christian Marillat
none Details | Review

Description Martin Perina 2003-09-30 11:00:12 UTC
I use battstat-applet from gnome-applets-2.2.3 on my IBM ThinkPad G40 with
ACPI enabled (my notebook doesn't have APM). Battstat-applet is functional,
but it consumes 19% of CPU when running. 

I've found a description of this problem and a patch, which solved it, on

http://www.its.caltech.edu/~dmoore/battstat/

Would it be possible to insert this patch into standard source code for
battstat-applet?
Comment 1 Christian Marillat 2003-09-30 12:19:01 UTC
The original bug, has been submitted here :

http://bugs.debian.org/212969
Comment 2 Christian Marillat 2003-09-30 13:14:43 UTC
Created attachment 20383 [details] [review]
Proposed patch
Comment 3 Kjartan Maraas 2003-10-01 09:18:35 UTC
Does this patch apply to 2.4.x? There's little hope for one more 2.2.x
release IMO.
Comment 4 Martin Perina 2003-10-01 09:32:50 UTC
I'm not author of this patch, but there're two versions of this patch
on following URL:

http://www.its.caltech.edu/~dmoore/battstat/

The first one is against 2.2.x and the second one is againts 2.3.90
version of gnome-applets
Comment 5 Kjartan Maraas 2003-10-05 23:01:32 UTC
Marking this as duplicate of #119909


*** This bug has been marked as a duplicate of 119909 ***
Comment 6 Christian Marillat 2003-10-06 07:53:45 UTC
Please keep package with better informations opened, this one contains
patches when 119909 contain nothing.
Comment 7 Christian Marillat 2003-10-06 07:54:23 UTC
*** Bug 119909 has been marked as a duplicate of this bug. ***
Comment 8 Kjartan Maraas 2003-10-06 10:47:55 UTC
Ok, I've tested the patch with APM and I don't see any ill effects of
it there. I'll test it on ACPI later today and see how that fares.
Patch applies cleanly against today's CVS.
Comment 9 Kjartan Maraas 2003-10-11 11:38:53 UTC
Been running this patch since and I don't see any problems with it.
Comment 10 Kevin Vandersloot 2003-10-22 22:03:01 UTC

*** This bug has been marked as a duplicate of 88553 ***