I’ve noticed that my laptop, Thinkpad x270, runs slowly after Fedora 41 Gnome reboots. It only happens when the laptop is not plugged in to socket. It runs especially slow after a serious update.
If it bothers you, change the power profile for battery to performance over battery life. That may allow your CPU to clock higher as it’s apparently almost flat out from the screen shots you’ve given.
For Gnome system monitor to take 16-19% of the CPU, the CPU must be running so very slow - looks more like a bug to me.
The moment I plug in power the laptop starts working fine, that’s the strangest thing. It must be some bug.
Switching to performance mode does not help much.
You could look further into the tuned profiles, rather than the Gnome toggles.
The other system that can control ‘power saving’ is in the BIOS. Always worth a look there.
Thanks. Where can I find that?
Gnome Help suggests this answer, but the thing is I hadn’t had this problem until recently.
Some laptops intentionally slow down when they are running on battery in order to conserve power. The processor (CPU) in the laptop switches to a slower speed, and processors use less power when running slower, so the battery should last longer.
This feature is called CPU frequency scaling.
I have not done this before, so I have to look it up.
Just incase you are still on power-profiles-daemon,
run
Replace power-profiles-daemon with tuned-ppd:
$ sudo dnf swap power-profiles-daemon tuned-ppd
Run gnome-control-center and switch to the power panel and then select one of the three power profiles.
Click the top-right corner of the screen and you can see the “Power Mode” shows the profile name that you selected previously.
Since tuned-adm shows the tuned profile name, the profile name mapping can be found in /etc/tuned/ppd.conf.
Run the following command to show the active profile:
tuned-adm active
above sourced from Changes/TunedAsTheDefaultPowerProfileManagementDaemon - Fedora Project Wiki
If that does not fix it we will look into setting a tuned profile via command line.
Part 2:
Tuned in Linux: Optimizing System Performance with Profiles | by Jerome Decinco | Medium is a good introduction to tuned.
Sourced from that link you could run
sudo systemctl start tuned
sudo systemctl enable tuned
tuned-adm list
sudo tuned-adm profile balanced
Part 3: Set different profile under battery vs mains… Easy power management on Fedora with powertop, tuned and udev - kcore.org
Response is:
Package "tuned-ppd-2.25.0-1.fc41.noarch" is already installed.
Like I said, I tried switching to “Performance” mode when the laptop starts up on battery, but this barely changes anything.
By the way the lagginess goes away after quarter of an hour or so, even though the laptop stays on battery.
Part 3 looks quite advanced. I understand nothing in tuned.conf
that the author suggests to tweak.
Just try this from the command line. Sometimes command line works better than Gnome, and we can find out what is happening more reliably with
tuned-adm active
If that does not work, we can assume it is a bug and look at some other things.
Have you looked at after the system normalizes:
journalctl --no-host --no-pager --since=-5m
I got the OS updated tonight and later turned the laptop off and on. The were no lags! I guess I cannot reproduce the problem systematically.
If it happens again I will drop a message in this thread. Thank you for all the comments.