I believe the CPU on my laptop is damaged. Every time I attempt to launch a CPU intensive task (UHD video playing / python math libraries) my whole system freezes.
I noticed I can avoid this by unplugging the AC and then it seems that the system is capable of running most tasks, albeit a bit slower.
Since I cannot run on battery forever my question is, How can I setup the CPU usage to mimic that of 'on battery' even though I am on AC?
I read elsewhere of a tool name cpufrequtils, but I'm not sure that is the way, since that's something I'm supposed to install and my laptop already can regulate based on battery/ac without any additional utility.
I mean, isn't there some place where I can simply specify the max cpu usage/freq ala Windows Power Management options?
Even if I have to use cpufreq, I still don't know the right % that my system uses on battery, so I can set it up with cpufrequtils.
cpupower -c all frequency-info
(or another tool that can report max, min, and stepping info on the cpu: wiki.archlinux.org/index.php/CPU_frequency_scaling ), and detailed info on your cpu (lscpu
or a similar command). I wouldn't be hasty to declare a cpu "damaged"; it is more likely that scaling and/or turbo is misconfigured. You may also find some settings for cpu scaling within/sys/devices/system/cpu
.