Merge lp:~kaihengfeng/unity-settings-daemon/add-brightness-limit-mechanism into lp:unity-settings-daemon
| Status: | Rejected |
|---|---|
| Rejected by: | Lars Karlitski on 2015-11-13 |
| Proposed branch: | lp:~kaihengfeng/unity-settings-daemon/add-brightness-limit-mechanism |
| Merge into: | lp:unity-settings-daemon |
| Diff against target: |
256 lines (+85/-13) 3 files modified
plugins/power/gpm-common.c (+32/-5) plugins/power/gpm-common.h (+15/-4) plugins/power/gsd-power-manager.c (+38/-4) |
| To merge this branch: | bzr merge lp:~kaihengfeng/unity-settings-daemon/add-brightness-limit-mechanism |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Lars Karlitski (community) | Disapprove on 2015-11-13 | ||
| Martin Pitt | 2015-11-13 | Disapprove on 2015-11-13 | |
| Ubuntu Desktop | 2015-11-13 | Pending | |
|
Review via email:
|
|||
Description of the Change
Add a mechanism that can make user to choose the minimum/maximum adjustable brightness level.
| Zygmunt Krynicki (zyga) wrote : | # |
I'm tentatively +1 on this. I agree with Martin that this is an "unbreak my system" knob but ultimately the world where I have this knob is better than the one we are in now, where desktops _are_ broken.
I would love to see an user-visible checkbox that controls if backlight turns off at 0% and a system-vendor tunable that actually controls the 0-100% span.
| Martin Pitt (pitti) wrote : | # |
> I would love to see an user-visible checkbox that controls if backlight turns off at 0% and a system-vendor tunable that actually controls the 0-100% span.
Erk, please no. This is the absolutely worst UI.
| Martin Pitt (pitti) wrote : | # |
Also, this high-level user space is *not* the point to second-
| Lars Karlitski (larsu) wrote : | # |
I strongly agree with Martin's remarks. This should be fixed in the respective drivers. Not only because that's the conceptually correct place, but also because otherwise we'll have to hack around this in every place that brightness is controlled in user space.
> I would love to see an user-visible checkbox that controls if backlight turns off at 0% and a system-vendor tunable that actually controls the 0-100% span.
Why would anyone ever want to turn off the backlight for LCD screens? Turning down the brightness is not the same as turning off the screen.
| Martin Pitt (pitti) wrote : | # |
FTR, https:/
| Kai-Heng Feng (kaihengfeng) wrote : | # |
Although I still prefer configuration for such an issue, I am happy to see this issue being addressed.
| Mateo Salta (mateo-salta) wrote : | # |
please no, I only see thing on windows devices to trick the battery life stats - setting it lower on battery vs plugged in is one thing(user can still increase to actual max), but forcing a limit that you can't turn up past unless you go into settings is a bad idea.
Unmerged revisions
- 4118. By Kai-Heng Feng on 2015-11-13
-
power: Add a mechanism that can limit min/max brightness percentage via gsettings.
In attempt to fix #1381625, I think it should be the user to decide the minimun
brightness policy to be "screen dim" or "screen off". This newly added mechanism
does not change the current behavior, user can decide it by changing
"min-brightness-percentage" .


TBH, I'm not a fan of introducing configurability for such things. It sounds too much like an "unbreak my desktop setting" and a hack for a bug, it introduces combinatorial explosion again which nobody will test properly, and it'll be hard to drop such settings again.
My opinion is not authoritative here of course, it's ultimately the desktop teams' decision.