Turn off automatic performance reduction on your laptop.
Turn off automatic performance reduction on your laptop.
I’m familiar with Linux, though I’m not an advanced user. My laptop functions as expected after switching the battery, but I’m facing problems since replacing it. The CPU throttles to 400mhz and becomes nonfunctional. After some investigation, I found a PROCHOT process affecting performance. A script can switch it on or off. I adjusted it so it only activates when needed. I set up a systemd service to run the script at startup, which handles the issue automatically. However, it doesn’t work in sleep mode, so I must run it manually from the command line. I added an alias to .bashrc for convenience, but it’s annoying to repeat each time I turn on the machine. My goal is to eliminate PROCHOT throttling permanently. Should I modify system files or use a more reliable method?
Share your systemd configuration. Something like this should work for you (not verified): [Unit] Description=Execute after waking from sleep or hibernation and at startup After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target network.target [Service] Type=simple ExecStart=/path/to/your_script.sh [Install] WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target