As soon as I turn on the power cpu start going up to 100% and on battery everything come back to normal. IO remain the same in both power and battery nothing abnormal going on there.
@litemotiv So one more thing is that when on power it throttle the CPU to its minimum frequency 0.40 Ghz and that is the issue on batter its on 1.49Ghz
analyzing CPU 3:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 3
CPUs which need to have their frequency coordinated by software: 3
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.40 GHz - 3.00 GHz
available frequency steps: 3.00 GHz, 1.70 GHz, 1.40 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.40 GHz and 3.00 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 399 MHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: no
On Battery
analyzing CPU 4:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 4
CPUs which need to have their frequency coordinated by software: 4
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.40 GHz - 3.00 GHz
available frequency steps: 3.00 GHz, 1.70 GHz, 1.40 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.40 GHz and 3.00 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.42 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: no
Seems like you found the issue Knight Crusty, that’s really interesting. This seems like a proper bug, i’m not sure what you could otherwise do to work around this…
The second item after firefox is 72% in /usr/share/code/code, which is Visual Studio Code.
Do you have something running in it?
Is it fighting with firefox, for example, both trying to update windows that overlap?
Applications can tell whether the laptop is on adapter or on battery, depending on the laptop model and version of Linux, “cat /sys/class/power_supply/AC/online”, “cat /proc/acpi/ac_adapter/AC/state”, “upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep state”, for example.
Maybe firefox or VS Code has some cleanup to do or some updates to apply that wait until the laptop is on AC power.
Nope, no updates going on, the only problem is when on AC power, laptop CPU throttle to 400MHz all cores and that is why you are seeing 100% utilization
Same issue here with a desktop running Fedora 40. Just updated Fedora and on reboot everything runs fine for a few minutes and then it just slows down to a crawl. There is a bug somewhere in the latest updates. I will be using Timeshift to revert back to before the updates until the developers get their act together.