You could try the following using nano to create the file
sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-off.conf
add
[connection]
wifi.powersave = 2
ctrl + o then enter to save
ctrl + x to exit nano
Restart network manager
sudo systemctl restart NetworkManager