cpupower icon indicating copy to clipboard operation
cpupower copied to clipboard

Settings reset after i wake up my computer from suspend

Open zdnearchou opened this issue 4 years ago • 5 comments

I set my power setting to Battery Saver so it works with BCLK x8 with no turboboost after i suspend my computer and wake it up, despite that the settings remain the same, the frequency of the cpu goes up to the base clock (x18) until i switch a profile then switch it back to the battery saver again.

Thanks in advance,

Additional information:

Lenovo X1 ThinkPad 2nd i5 4300U Linux Kernel: 5.4.0 Polkit : 0.105 Gnome 3.36.3 journalctl: https://pastebin.com/901AjG1K

zdnearchou avatar Oct 05 '20 11:10 zdnearchou

Do you have configured another profile in the auto switching configuration? Because if your device wakes up, cpupower may change the selected profile according to your auto switch configuration (only if this feature is turned on).

mastercaution avatar Oct 11 '20 18:10 mastercaution

I have a similar problem, with a Lenovo Thinkpad T450s, i7-5600U. I have 2 profiles set, one with full cpu usage (max freq 100, turbo boost on), called AC, and one with 50% max cpu freq and turbo boost off as Battery, auto switch on. Everything works as expected until laptop wakes from sleep, after that it seems to disregard any settings I do in cpu power manager, frequencies go up to 3.2GHz (which is max turbo boost frequency), even though "cat /sys/devices/system/cpu/intel_pstate/no_turbo" outputs 1...

OS: Pop os 21.04 Linux Kernel: 5.11.0 CPU: i7-5600U Gnome: 3.38.5

ioanmoldovan95 avatar Jun 13 '21 17:06 ioanmoldovan95

This sounds like a kernel issue then. As far as I understand it, you are able to reproduce the issue without this extension solely based on the intel-pstate kernel API? If yes, would you consider reporting this issue directly to the Linux kernel developers?

fin-ger avatar Jun 13 '21 19:06 fin-ger

Any news on this?

fin-ger avatar Sep 27 '21 16:09 fin-ger

Sorry, I sold the laptop a bit of time after leaving that comment, so I no longer have the means of testing anything. Thanks for the response

ioanmoldovan95 avatar Nov 11 '21 06:11 ioanmoldovan95