Repository navigation
Conversation
…top setting Omarchy turns Wi-Fi power save off in /etc/NetworkManager/conf.d/omarchy-wifi-powersave.conf, a fair trade on a laptop. On the Pixel 9a it costs about 10 mA of the screen-off drain. NetworkManager reads /etc last and in name order, so the package's file is in /etc and sorts after Omarchy's, as a backup file. Tested: test/all checks the file's one setting, its order after Omarchy's and its backup entry. On a Pixel 9a with the modem up and the screen off, cable in with the charger's buck off, 60 s means: 285 and 295 mA with power save off against 279 and 279 mA with it on; with the file, NetworkManager set power save on at the next connect, and pings over Wi-Fi answered.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Omarchy turns Wi-Fi power save off in
/etc/NetworkManager/conf.d/omarchy-wifi-powersave.conf(wifi.powersave = 2, owned by omarchy-settings 4.5). That is a fair trade on a laptop, but on the Pixel 9a it costs about 10 mA of the screen-off drain. NetworkManager reads/etclast, in name order, so a package file in/usr/libcan't override it. This package's file is in/etcand sorts after Omarchy's (zz-omamobile-tegu-wifi-powersave.conf,wifi.powersave=3), and it is a backup file so an owner's edit stays.On my palmtop (Pixel 9a, daily kernel, modem up, screen off, cable in with the charger's buck off, 60 s means, power save toggled with
iwin turn):The Wi-Fi interrupt rate didn't change (about 206 a second either way), so that's the radio's own sleeping. With the file in place, NetworkManager set power save on at the next connect, connectivity read full, and pings over
wlan0answered (5 of 5, about 22 ms).One thing for the Pixel 6 Pro.
omamobile-device-ravenshipswifi.powersave=3in/usr/lib/NetworkManager/conf.d/omamobile-raven-wifi-powersave.conf. On an install with Omarchy 4.5, Omarchy's/etcfile is read after it and wins, so raven's power save is off too. I haven't changed raven here. If this one is the right shape, raven's file can move the same way.Tests:
test/allchecks that the file sets power save on and nothing else, that it sorts after Omarchy's, and its backup entry.tests/allandtools/pr-check origin/mainpass.The version is 0.2.24, after #912 (0.2.22) and #922 (0.2.23); whichever goes first, the rest get a one-line rebase.