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:
David Heinemeier Hansson
2026-07-24 10:34:19 -07:00
co-authored by Claude Fable 5
parent 1d4077287b
commit da157fb9c0
4 changed files with 24 additions and 12 deletions
@@ -0,0 +1,5 @@
# Keep Wi-Fi power save off: it trades 20-300ms latency spikes on idle links
# for a fraction of a watt while the radio idles, and broken firmware (Intel
# BE200/BE211) drops the link outright when it naps.
[connection]
wifi.powersave = 2
@@ -1,2 +0,0 @@
SUBSYSTEM=="power_supply", ATTR{type}=="Mains", ATTR{online}=="0", RUN+="/usr/bin/systemd-run --no-block --collect --unit=omarchy-wifi-powersave-on /usr/bin/omarchy-wifi-powersave on"
SUBSYSTEM=="power_supply", ATTR{type}=="Mains", ATTR{online}=="1", RUN+="/usr/bin/systemd-run --no-block --collect --unit=omarchy-wifi-powersave-off /usr/bin/omarchy-wifi-powersave off"