Skip to main content

Linux Wifi Power Save Disable

Disable power saving

File to be place under /etc/NetworkManager/conf.d
Values are 0 (use default), 1 (ignore/don’t touch), 2 (disable) or 3 (enable).

[connection]
wifi.powersave = 2

 

Single bash command to implement power saving

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf && systemctl restart network-manager.service

 

Check if power saving is on or off

⚙️```bash iwconfig wlx90de809505b2 wlx90de809505b2 IEEE 802.11 ESSID:"HomeNet"
Mode:Managed Frequency:2.412 GHz Access Point: B0:AC:D2:37:B2:A3
Bit Rate=130 Mb/s Tx-Power=3 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=45/70 Signal level=-65 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:5 Missed beacon:0


⚙️```
❯ nmcli con show
NAME UUID TYPE DEVICE
Name 4G wifi
.......

nmcli con show "Name 4G" | grep save
802-11-wireless.powersave: 0 (default)

❯ nmcli connection modify "Name 4G" 802-11-wireless.powersave 2

❯ nmcli connection up "Name 4G"

Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/21)

❯ nmcli con show "Name 4G" | grep save


802-11-wireless.powersave: 2 (disable)