I have been fiddling with power management and I can't find a way to make the changes I want persistent. For example, I have set the maximum cpu frequency with this command:
```
sudo cpupower frequency-set --max 2GHz
```
but the value goes back to its original value on every reboot. Is there a standard way to make this change persistent? I have read about kernel modules but I don't know how they work... can anyone help me?

Note. My machine is running Ubuntu 20.04.