How to set power_profile at boot

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


I tried the rc.local solution and found it not working for some reason (like other common solutions as described here). So I'm posting an alternative solution using pm-utils. I'm not sure if it is the best way to do it (I'm new to Linux) but it does what is necessary: Set the radeon power_profile to low on boot and retain that setting after suspend-resume.

Step 1: Create hook

gksu gedit /usr/lib/pm-utils/power.d/radeon-power_profile

Step 2: Fill in the desired setting

#!/bin/sh

echo profile > /sys/class/drm/card0/device/power_method
echo low > /sys/class/drm/card0/device/power_profile

exit 0

Step 3: Make it executable

sudo chmod +x /usr/lib/pm-utils/power.d/radeon-power_profile

That's it :)