I typically install and enable tlp [1], but that's it. Some distros/DEs might have it out of the box, but on Arch I had to do it myself.
[1] https://wiki.archlinux.org/title/TLP