Ubuntu – How to set power_profile at boot

radeon

So when I log on, I go to a terminal and type

echo "mid" | sudo tee /sys/class/drm/card0/device/power_profile 

which means my laptop works without the fan being constantly ON.

It would be great it I didn't have to do this; I would like this to be done for me, and without me having to enter the password for sudo.

Best Answer

Stick it in /etc/rc.local, before the exit statement.

Related Question