Drop Wi-Fi power save toggling in favor of keeping it off
The on-battery toggle bought a fraction of a watt while the radio idled -- twenty-some minutes across a full discharge in the best case -- and paid for it with 20-300ms latency spikes on idle links and outright link drops on Intel BE200/BE211 firmware. NetworkManager can keep power save off natively with one conf.d line, which replaces the udev rule, the setter script, and any per-card deny-listing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
1d4077287b
commit
da157fb9c0
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Set Wi-Fi power save mode on wireless interfaces
|
||||
# omarchy:args=<on|off>
|
||||
|
||||
shopt -s nullglob
|
||||
for iface in /sys/class/net/*/wireless; do
|
||||
iface="$(basename "$(dirname "$iface")")"
|
||||
iw dev "$iface" set power_save "$1" 2>/dev/null
|
||||
done
|
||||
Reference in New Issue
Block a user