Disable wifi power saving while plugged to charger?
Using ssh over wifi tends to lag if power saving is active (and we have it by default now). So I'm wondering if we should disable it automatically when it's plugged to a charger and enable it again afterwards?
To disable it:
iw dev wlan0 set power_save off
And what about other devices? Does it make sense to do this for all devices, or is this not really noticeable on others?