# Powermanagement doesn't keep settings

**URL:** <https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089>\
**Category:** Netrunner 20.01\
**Created:** [December 9, 2020, 9:52pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089 "2020-12-09T21:52:26Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 9, 2020, 9:52pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/1 "2020-12-09T21:52:26Z")

</div>

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? 🙂

Thanks in advance!

Dieter

---

<div class="post-metadata">

**Author:** ![leszek](https://support.blue-systems.com/user_avatar/support.blue-systems.com/leszek/32/13_2.png) [@leszek](https://support.blue-systems.com/u/leszek)\
**Post date:** [December 10, 2020, 2:11am UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/2 "2020-12-10T02:11:39Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 10, 2020, 9:15am UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/3 "2020-12-10T09:15:49Z")

</div>

Thanks for your reply.

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

Ciao!

Dieter

---

<div class="post-metadata">

**Author:** ![proxo](https://support.blue-systems.com/user_avatar/support.blue-systems.com/proxo/32/309_2.png) [@proxo](https://support.blue-systems.com/u/proxo)\
**Post date:** [December 10, 2020, 9:47am UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/4 "2020-12-10T09:47:30Z")

</div>

OffTopics:  
You didn´t give us any information how you solved this problem: " [Hdmi with thinkpad T520](https://support.blue-systems.com/t/hdmi-with-thinkpad-t520/5080)"  
Would be fine!

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 10, 2020, 10:53am UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/5 "2020-12-10T10:53:25Z")

</div>

Done! Sorry for the delay …

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 10, 2020, 10:56am UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/6 "2020-12-10T10:56:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![proxo](https://support.blue-systems.com/user_avatar/support.blue-systems.com/proxo/32/309_2.png) [@proxo](https://support.blue-systems.com/u/proxo)\
**Post date:** [December 10, 2020, 11:28am UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/7 "2020-12-10T11:28:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![leszek](https://support.blue-systems.com/user_avatar/support.blue-systems.com/leszek/32/13_2.png) [@leszek](https://support.blue-systems.com/u/leszek)\
**Post date:** [December 10, 2020, 8:53pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/8 "2020-12-10T20:53:43Z")

</div>

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

> [@leszek](#):
>
> 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)

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.

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 10, 2020, 9:33pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/9 "2020-12-10T21:33:35Z")

</div>

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 🙂

Dieter

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 10, 2020, 9:47pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/10 "2020-12-10T21:47:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![leszek](https://support.blue-systems.com/user_avatar/support.blue-systems.com/leszek/32/13_2.png) [@leszek](https://support.blue-systems.com/u/leszek)\
**Post date:** [December 10, 2020, 10:55pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/11 "2020-12-10T22:55:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 10, 2020, 11:13pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/12 "2020-12-10T23:13:11Z")

</div>

ok, harakiri sounds good 🙂

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

---

<div class="post-metadata">

**Author:** ![leszek](https://support.blue-systems.com/user_avatar/support.blue-systems.com/leszek/32/13_2.png) [@leszek](https://support.blue-systems.com/u/leszek)\
**Post date:** [December 11, 2020, 8:19pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/13 "2020-12-11T20:19:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pfiff](https://support.blue-systems.com/letter_avatar/pfiff/32/6_449c533f586939b6e5f246632a46421f.png) [@Pfiff](https://support.blue-systems.com/u/Pfiff)\
**Post date:** [December 11, 2020, 10:11pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/14 "2020-12-11T22:11:21Z")

</div>

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. 🙂  
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

---

<div class="post-metadata">

**Author:** ![leszek](https://support.blue-systems.com/user_avatar/support.blue-systems.com/leszek/32/13_2.png) [@leszek](https://support.blue-systems.com/u/leszek)\
**Post date:** [December 11, 2020, 10:36pm UTC](https://support.blue-systems.com/t/powermanagement-doesnt-keep-settings/5089/15 "2020-12-11T22:36:02Z")

</div>

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