Bug 471640

Summary: ACPI / Brightness don't work correctly
Product: [Fedora] Fedora Reporter: Pavel Lisý <pavel.lisy>
Component: gnome-power-managerAssignee: Richard Hughes <richard>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: rhughes, richard, tomspur
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: 2009-03-02 10:15:02 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:
Attachments:
Description Flags
log from gnome-power-manager
none
output of gnome-power-manager in no-deamon-mode and verbose none

Description Pavel Lisý 2008-11-14 19:33:17 UTC
Description of problem:
When I am working on laptop (Thinkpad X40) brightness dim suddenly and after about 0.5-1min it revert to same level

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. work in X when laptop is on batteries
2. it happens about 1-4 times in hour
3.
  
Actual results:
brightness dim suddenly for about 0.5-1min during normal work

Expected results:
brightness dim only in time of inactivity

Additional info:
I am not sure where problem is? I started after last updates (kernel, pm-utils, ...)

Comment 1 Pavel Lisý 2008-11-18 07:46:20 UTC
It is bug in kernel maybe because it is the same in console (tty1, tty2, ...)

Comment 2 Richard Hughes 2008-11-18 10:21:00 UTC
If you stop moving the mouse or typing the backlight is dimmed to save power. If you don't like this, just uncheck the "Dim backlight when idle" in gnome-power-preferences.

Comment 3 Pavel Lisý 2008-11-18 11:24:04 UTC
OK, but like I wrote before it happens during my typing or mouse moving. 
And it dim slow (in few second) for 1 minute approximately and then return (slowly) to normal brightness. It is really annoying.

Comment 4 Richard Hughes 2008-11-18 11:37:58 UTC
can you grab the out put from:

killall gnome-power-manager
gnome-power-manager --verbose --no-daemon

Thanks.

Comment 5 Pavel Lisý 2008-11-18 14:24:30 UTC
Created attachment 323901 [details]
log from gnome-power-manager

Comment 6 Pavel Lisý 2008-11-25 23:31:58 UTC
I have found something new. When it happens system is really busy. 
Xorg takes more then 20% CPU and many other utilities about 1% so CPU usage is more than 60-70% in time of dim. When I kill gnome-power-manager load is gone.

So it can be problem of gnome-power-manager I suppose.

Comment 7 Bug Zapper 2008-11-26 05:23:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Thomas Spura 2008-12-09 17:54:38 UTC
Created attachment 326369 [details]
output of gnome-power-manager in no-deamon-mode and verbose

Comment 9 Thomas Spura 2008-12-09 17:54:56 UTC
I have the same problem. Anything worked in Fedora 9, but now, with battery it's fading and a hight CPU usage like Pavel descriped.

I ran:
 killall gnome-power-manager
 gnome-power-manager --verbose --no-daemon

Output: see attachment

After switching off power supply and only running with battery, the icon in the panel disappears so I ran System->... something linke energy administration (not using the English localization). Then gnome-power-manager --verbose --no-daemon suddenly crashes.

Maybe, this is another hint to the problem… Reverting to fc9-source code would be the best ;-)

   Thomas

Comment 10 Thomas Spura 2009-02-28 15:39:02 UTC
works for me again…

I believe this bug can be closed.

Comment 11 Pavel Lisý 2009-03-01 20:36:28 UTC
I can confirm it. Now brightness change is really quick. Bug can be closed. 

I'm only curious what was solution (kernel/firmware update or changes in gnome-power-manager). Do you know it?

Comment 12 Thomas Spura 2009-03-02 02:03:14 UTC
No, i can't remember a gnome-power-manager update.

As long as it works, it's OK.

Comment 13 Richard Hughes 2009-03-02 10:15:02 UTC
(In reply to comment #11)
> I'm only curious what was solution (kernel/firmware update or changes in
> gnome-power-manager). Do you know it?

Multiple fixes in xrandr and gnome-power-manager.