Bug 216675 - powerdevil resets manually set brightness level if user is not active for a minute
Summary: powerdevil resets manually set brightness level if user is not active for a m...
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 16:18 UTC by S. Burmeister
Modified: 2010-11-09 17:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2009-11-29 16:18:29 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

This happens within one state, i.e. it is not the same bug as the one where powerdevil changes brightness when changing power profiles.

If one decreases the brightness manually, e.g. to the lowest possible value via the netbook's hotkey, it is reset to the profile's level of brightness if the user is not active for a minute.

If however the user keeps on using the mouse or typing the brightness stays at the manually set level.

Disabling "dim screen if user inactive" does not help, it was set to 10 minutes anyway for the power profile in use.
Comment 1 Michi 2009-12-07 09:30:41 UTC
I have a similar issue. When I set the brightness in the battery monitor manually the brightness is reset to the lowest level as soon as I reopen the battery monitor.
Comment 2 Rolf Eike Beer 2010-03-15 22:22:37 UTC
So the basic idea when the idle timeout is reached the brightness should not be just set to the configured value but it should be checked if the current brightness is already lower.

if (currentBrightness() > configuredBrightness)
  setBrightness(configuredBrightness);
Comment 3 Andrey 2010-04-12 20:34:01 UTC
KDE 4.4.2 (KDE 4.4.2) "release 234": issue is still present.

Furthermore, the time is not 1 minute, but 30 seconds.

What is even worse, there is no way to disable brightness handling by powerdevil (except the obvious one: disable powerdevil). So I have to choose one level of brightness or another.
Comment 4 Niklas Laxström 2010-04-15 10:52:05 UTC
This is particularly annoying, since this happens whether or not I've allowed the battery applet to manage display brightness.
Comment 5 Andrey 2010-08-15 05:06:53 UTC
Though, you still cannot disable Powerdevil from altering brighness, 
bug is gone in my system KDE 4.5.0. 
To test it I have set brightness to maximum, while in profile it was set to minimum. 
Brighness remained untouched for more than 10 minutes. 

And I noticed that 4.4.4 already had it fixed too, 
but I just didn't checked it with stopwatch.

So it is FIXED in my system.
Comment 6 Dario Freddi 2010-11-09 17:09:44 UTC
Should have been fixed in 4.5, but it definitely is in 4.6, as the profile reload routines do not affect this behavior anymore and dim screen gets back to the user's chosen brightness.