Bug 204858 - battery applet polls every second, even on a server
Summary: battery applet polls every second, even on a server
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-applets
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: wakeup
TreeView+ depends on / blocked
 
Reported: 2006-08-31 22:07 UTC by Arjan van de Ven
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-01 18:08:26 UTC


Attachments (Terms of Use)
decrease spurious wakeups by the battery applet on my 4 core server (1.06 KB, patch)
2006-08-31 22:07 UTC, Arjan van de Ven
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
GNOME Bugzilla 353885 None None None Never

Description Arjan van de Ven 2006-08-31 22:07:57 UTC
Description of problem:


the battery applet polls battery status every second, even on a server. This
frequent polling is eating power and is hurting with tickless-idle kernels
(there are many things on the desktop doing once or a few times per second
things, they add up to MANY, distroying power savings).

The attached patch uses a 10 second rather than a 1 second delay if there is no
batter present and we're on AC. 10 seconds is still respectable, but it reduces
the wakeups by a factor of 10

Comment 1 Arjan van de Ven 2006-08-31 22:07:57 UTC
Created attachment 135344 [details]
decrease spurious wakeups by the battery applet on my 4 core server

Comment 2 Matthias Clasen 2006-09-01 17:05:28 UTC
is there any point in polling the battery status every second, even on a laptop ?
every 10 seconds sounds totally fine to me, in general.

Comment 3 Matthias Clasen 2006-09-01 18:08:26 UTC
I've made it 5 seconds/10 seconds.
Fixed in 2.15.90-6.fc6

Comment 4 Ray Strode [halfline] 2006-09-05 14:44:58 UTC
For fc7 we really need to drop that applet.  it is completely redundant with
gnome-power-manager


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