sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Change to a value of 2 to disable the powersave. It should look like
[connection]
wifi.powersave = 2
Tap ctrl+x to exit the editor, then the y key to say yes to save, the enter key to save current configuration.