Bug 204858

Summary: battery applet polls every second, even on a server
Product: [Fedora] Fedora Reporter: Arjan van de Ven <arjan>
Component: gnome-appletsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-01 18:08:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 204948    
Attachments:
Description Flags
decrease spurious wakeups by the battery applet on my 4 core server none

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