Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Created October 30, 2019 05:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weskerfoot/7144fc270b0a9b84abf7070d79b9d8d3 to your computer and use it in GitHub Desktop.
Save weskerfoot/7144fc270b0a9b84abf7070d79b9d8d3 to your computer and use it in GitHub Desktop.
[Unit]
Description=Disable WiFi Power Management
After=network-online.target
[Service]
Type=simple
ExecStartPre= /bin/sleep 10
ExecStart= /usr/bin/iw dev wlp3s0 set power_save off
[Install]
WantedBy=multi-user.target
### next unit file
[Unit]
Description=Disable WiFi Power Management
After=suspend.target
[Service]
Type=simple
ExecStartPre= /bin/sleep 10
ExecStart= /usr/bin/iw dev wlp3s0 set power_save off
[Install]
WantedBy=suspend.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment