How to permanently turn off power management and avoid internet disconnections?

Hi @chrisWW,

According to me, it’s a bad idea to disable power management completely. I also think this is a good example of an XY problem. Instead, I suggest turning off your wifi’s power management. And according to thjs page:

  • Create the file /etc/NetworkManager/conf.d/wifi-powersave-off.conf:
sudo nano /etc/NetworkManager/conf.d/wifi-powersave-off.conf
  • Insert the following content:
# File to be place under /etc/NetworkManager/conf.d
[connection]
# Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable).
wifi.powersave = 2
  • Save, Ctrl + O, and exit the eeditor, Ctrl + X.

  • Restart NetworkManager:

sudo systemctl restart NetworkManager

…and/or reboot, and test.

Hope it helps!

Edit:

Further reference:

https://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently