pmaports/kde/plasma-workspace/dont-set-brightness-to-one.patch
Bart Ribbers 006a0ab42f Update Plasma to 5.11.5 (#1080)
I've also added a patch to stop Plasma from setting the brightness to 1 at boot. This comes from
upstream, and can be removed once Plasma 5.12 is out.
2018-01-04 18:47:31 +00:00

13 lines
744 B
Diff

diff --git a/applets/batterymonitor/package/contents/ui/batterymonitor.qml b/applets/batterymonitor/package/contents/ui/batterymonitor.qml
index ae6d591..50deee5 100644
--- a/applets/batterymonitor/package/contents/ui/batterymonitor.qml
+++ b/applets/batterymonitor/package/contents/ui/batterymonitor.qml
@@ -83,7 +83,7 @@ Item {
Plasmoid.toolTipSubText: powermanagementDisabled ? i18n("Power management is disabled") : ""
Plasmoid.icon: "battery"
- property bool disableBrightnessUpdate: false
+ property bool disableBrightnessUpdate: true
property int screenBrightness
readonly property int maximumScreenBrightness: pmSource.data["PowerDevil"] ? pmSource.data["PowerDevil"]["Maximum Screen Brightness"] || 0 : 0