Powermanagement doesn't keep settings

Hello,

in the systemsettings -> powermanagement I change the settings from standard to my prefered settings. And, for sure, I save the changes.
After the next time, I started the notebook again, my settings disappear and I have the standards again.
That’s very exhausting to do the same process again and again and again …

How can I convince the powermanagement that I mean my settings serious? :slight_smile:

Thanks in advance!

Dieter

This could be a bug. What you can try to test is first see in your users .config directory (~/.config) if the powermanagementprofilesrc exists and has the right permissions for your user (read & write).

If the file does not exist copy the one from /usr/share/default-settings/plasma5-profile/ and make sure it has the correct permissions aswell (your user needs to be able to read & write the file)

I hope this helps and it does not reset your settings all the time.

Thanks for your reply.

The powermanagementprofilesrc exists in my ~/.config and all permissions exists. And now?

Ciao!

Dieter

OffTopics:
You didn´t give us any information how you solved this problem: " Hdmi with thinkpad T520"
Would be fine!

Done! Sorry for the delay …

Now I found out that the settings not only change with a new booting but when I start the systemsetting-app as well …
Is it possible to edit the settings in the file and then disconnect it from the systemsettings? Or, you know how to fix this bug … that would be fine …

Ciao!

Dieter

I´ve tested that and can confirm that.
Changes are not savable.

Please show me the contents of the file powermanagementprofilesrc
I guess it is not writing anything in there.

Try this even if the file exists then please and after relogin set everything up the way you want and see if it fixes the issue for you.

Hello, thanks again:

here is the content of the file powermanagementprofilesrc (before copy it from /usr/share/default-settings/plasma5-profile/)

[AC]
icon=battery-charging

[AC][BrightnessControl]
value=100

[AC][DPMSControl]
idleTime[$d]

[AC][DimDisplay]
idleTime[$d]

[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false

[Battery]
icon=battery-060

[Battery][BrightnessControl]
value=100

[Battery][DPMSControl]
idleTime[$d]

[Battery][DimDisplay]
idleTime[$d]

[Battery][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false

[LowBattery]
icon=battery-low

[LowBattery][BrightnessControl]
value=30

[LowBattery][DPMSControl]
idleTime=120

[LowBattery][DimDisplay]
idleTime=60000

[LowBattery][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false

[LowBattery][SuspendSession]
idleTime=300000
suspendType=1

[migration]
kdedShortcutMigration=true

and here it comes after copying from usr ...

[AC]
icon=battery-charging

[AC][DPMSControl]
idleTime=21600

[AC][DimDisplay]
idleTime=7200000

[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=8
triggerLidActionWhenExternalMonitorPresent=false

[Battery]
icon=battery-060

[Battery][BrightnessControl]
value=60

[Battery][DPMSControl]
idleTime=900

[Battery][DimDisplay]
idleTime=600000

[Battery][HandleButtonEvents]
lidAction=1
powerButtonAction=8
triggerLidActionWhenExternalMonitorPresent=false

[LowBattery]
icon=battery-low

[LowBattery][BrightnessControl]
value=30

[LowBattery][DPMSControl]
idleTime=180

[LowBattery][DimDisplay]
idleTime=60000

[LowBattery][HandleButtonEvents]
lidAction=1
powerButtonAction=8
triggerLidActionWhenExternalMonitorPresent=false

ok, and sending this posting I will restart the machine. See you soon :slight_smile:

Dieter

and now i finished two restarts. After the first restarts I changed my settings of the powermanagement and controlled the date and time of the file - it has been newer than before.

and after the second restart my settings are lost and the file looks like this.

[AC]
icon=battery-charging

[AC][BrightnessControl]
value=100

[AC][DPMSControl]
idleTime[$d]

[AC][DimDisplay]
idleTime[$d]

[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=8
triggerLidActionWhenExternalMonitorPresent=false

[Battery]
icon=battery-060

[Battery][BrightnessControl]
value=100

[Battery][DPMSControl]
idleTime[$d]

[Battery][DimDisplay]
idleTime[$d]

[Battery][HandleButtonEvents]
lidAction=1
powerButtonAction=8
triggerLidActionWhenExternalMonitorPresent=false

[LowBattery]
icon=battery-low

[LowBattery][BrightnessControl]
value=30

[LowBattery][DPMSControl]
idleTime=180

[LowBattery][DimDisplay]
idleTime=60000

[LowBattery][HandleButtonEvents]
lidAction=1
powerButtonAction=8
triggerLidActionWhenExternalMonitorPresent=false

[migration]
kdedShortcutMigration=true

Hope this information will help to solve the problem.

Ciao!

Dieter

Then try the harakiri version and remove the global powermanagementprofilesrc from /usr/share/default-settings/plasma5-profile/
After that set everything up in your configuration and relogin to see if the settings are saved correctly.

ok, harakiri sounds good :slight_smile:

Done and now things are going very strange. The Settings for Battery are still here, but the settings in AC are lost again. ???
Do we have fullmoon?

Any ideas?

Ciao!

Dieter

Hmm… that is the only config that should be responsible for this.
Can you try again and see if it changes any values for AC in the config

Thanks for your reply. Ok, this time, I double-checked the powermanagement-config and you are right, there is no change in the settings. Perfect! But nevertheless, I had seen the changes made this morning as well. Not only deep in the last night. :slight_smile:
Is there a kind of cache working? But if it is now working well then I will be quiet.

But to keep in mind, there is a bug to fix. Proxo confirmed that the changes are not savable …

Ciao!

Dieter

Yes there is a bug that is gladly fixed already in newer plasma versions