Bug 198463

Summary: powerdevil should not increase brightness when switching to a more conservative power profile if brightness is already lower than default for that profile
Product: [Unmaintained] solid Reporter: Anish Bhatt <anish.7>
Component: powermanagement-daemonAssignee: Dario Freddi <drf>
Status: RESOLVED FIXED    
Severity: wishlist CC: ajl37, benni, claudio.f.gil, frmdstryr, KaiUweBroulik2, mattm3a, mkyral, opensource, oren, senjas, steffenjost, sven.burmeister, t.hirsch, wagner17
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anish Bhatt 2009-06-30 22:51:11 UTC
Version:            (using KDE 4.2.4)
Compiler:          gcc 4.4 
OS:                Linux
Installed from:    Unlisted Binary Package

when switching between to more conservative power profiles, brightness should not increase.


eg, i have powersave configuration set to 50% screen brightness and i've already decreased brightness to lower than 50%, say 30% when on the performance profile. now, when powerdevil switches from performance to powersave based on battery level, brightness increases to 50%. this is undesirable behavior . brightness should not increase when switching to a more conservative profile.
Comment 1 Adam Liszka 2009-11-11 19:43:52 UTC
I have noticed this as well when running on battery power. I had set my back light to minimum, and when the battery dropped below 25%, and 15%, the screen got brighter. Also, when the battery got to 10% and lower, the back light would just shut off every minute or so, and I had to blindly turn it back up.
Comment 2 mattm3a 2009-11-22 08:09:58 UTC
I think this is a duplicate of https://bugs.kde.org/show_bug.cgi?id=194807
Comment 3 Dario Freddi 2009-12-01 18:35:11 UTC
*** Bug 194807 has been marked as a duplicate of this bug. ***
Comment 4 Thorsten Hirsch 2010-03-28 18:54:19 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Thorsten Hirsch 2010-03-28 18:56:48 UTC
This bug (or wish as it is called here...though I think it's really a bug) is still present in KDE 4.4.1.
Comment 6 Andrey 2010-08-15 04:03:26 UTC
KDE 4.5.0: bug is still here...
Comment 7 Dario Freddi 2010-11-10 01:14:14 UTC
*** Bug 231413 has been marked as a duplicate of this bug. ***
Comment 8 Mathieu Jobin 2010-12-16 12:52:59 UTC
I was about to submit this exact same bug (ain't a wish)

running 4.6beta2 on ubuntu 10.10
Comment 9 Kai Uwe Broulik 2010-12-31 17:18:37 UTC
Another weird thing is that when the screen goes off (or you close the lid and open it again) and you move your mouse to make it on again the brightness reverts back to the profile setting and not to the brightness you had set manually (I usually have the brightness at lowest)
Comment 10 Benni Hill 2011-07-05 14:20:05 UTC
I just encountered this bug with KDE 4.6.4.
Comment 11 Cláudio F. Gil 2011-07-05 14:58:56 UTC
*** Bug 271659 has been marked as a duplicate of this bug. ***
Comment 12 Cláudio F. Gil 2011-07-05 15:02:07 UTC
The behavior was bugging me a bit too much a certain day and I created a patch that I posted in my duplicate bug report: https://bugs.kde.org/show_bug.cgi?id=271659#c0

Not sure if it's the desired behavior but it is at least a suggestion for the maintainer.
Comment 13 Dario Freddi 2011-10-03 15:18:22 UTC
Git commit c490bdf6b94faaed40bc58cf8efed7c286538b23 by Dario Freddi.
Committed on 03/10/2011 at 17:15.
Pushed by dafre into branch 'dafre/new-powerdevil'.

Be smart enough to avoid bringing brightness up when switching to a more conservative profile.

BUG: 198463

M  +16   -1    powerdevil/daemon/actions/bundled/brightnesscontrol.cpp
M  +2    -0    powerdevil/daemon/actions/bundled/brightnesscontrol.h

http://commits.kde.org/kde-workspace/c490bdf6b94faaed40bc58cf8efed7c286538b23
Comment 14 Dario Freddi 2011-10-17 19:29:32 UTC
Git commit 68794dd6725ff46bafc801a9cf6f1e72542a5835 by Dario Freddi.
Committed on 03/10/2011 at 17:15.
Pushed by dafre into branch 'master'.

Be smart enough to avoid bringing brightness up when switching to a more conservative profile.

BUG: 198463

M  +16   -1    powerdevil/daemon/actions/bundled/brightnesscontrol.cpp
M  +2    -0    powerdevil/daemon/actions/bundled/brightnesscontrol.h

http://commits.kde.org/kde-workspace/68794dd6725ff46bafc801a9cf6f1e72542a5835
Comment 15 frmdstryr 2017-03-16 03:06:12 UTC
I'm seeing this issue on 5.9.3