I've noticed that my wlan0 interface has power management on even when I am plugged in. I can turn it off with
sudo iwconfig wlan0 power off, but it turns on again at reboot or when I unplug my laptop.
How can I get power management to only come on when unplugged and turn off when I'm plugged in?
Using Ubuntu 15.04 with KDE (Kubuntu).