Surface Pro 3 Wifi Powersave Mode Disable systemd entry
This is how to create a custom systemd link to turn off powersaving mode for your wifi card. This can be applied to affect any wifi card, but the purpose of this git is to help Surface Pro 3 linux users who do not want to recompile their kernel with the latest Marvell firmware modules every time the kernel is updated.
Welcome to the readme, this will help guide you to turning off your wireless card's power saving mode to help alleviate any failures to wake up from powersaving mode and causing a non-network state on your machine.
Firstly, we will need to create the systemd link, which is done with:
"sudo systemctl edit --force --full wifipsdisable"
Your text editor should come up to a blank screen.
Then you will enter the following chunk:
#Disable wifi power saving mode on Surface Pro 3
[Unit]
Description=Turn off Wireless Power Saving Mode
Requires=network.target
[Service]
Type=simple
ExecStart=/usr/bin/iw dev wlp1s0 set power_save off
RestartSec=5
Restart=on-failure
[Install]
WantedBy=graphical.target
Once that is populated, exit and save.
Use "sudo systemctl enable wifipsdisable" to enter your new entry into the systemd boot sequence.
Restart your system and check to see if the changes took effect using "iw dev wlp1s0 get power_save" If your terminal returns "Power save:off" you know that your entry is successful and you won't have to manually enter the power save off command any further.