Oops, I've got a typo in comment #6. The command to change the power save state should be 'sudo iw wlan0 set power_save <state>", not "powersave".
Oops, I've got a typo in comment #6. The command to change the power save state should be 'sudo iw wlan0 set power_save <state>", not "powersave".