Skip to content

Add a script to disable power saving#20

Open
vidvidex wants to merge 2 commits into
ros2from
feat/disable-wifi-power-save
Open

Add a script to disable power saving#20
vidvidex wants to merge 2 commits into
ros2from
feat/disable-wifi-power-save

Conversation

@vidvidex

@vidvidex vidvidex commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Changes

This PR adds a script to disable power saving on various levels:

  1. Disables hibernation (was already an existing script and was integrated into this)
  2. Disables power saving on the wlan0 interface (using iw wlan0 set power_save off and a systemd service to run it on boot)
  • Before running the script make sure to run the "Fix network interface names" script, so that the name of WiFi interface will be wlan0 and not something else. (there is no way to globally disable power saving with networkd, it is possible with NetworkManager, but we're not using that)
  1. Sets power profile to maximum available, usually performance (using powerprofilesctl)
  2. If running on Nvidia Jetson sets the Jetson specific power mode to 25W. There is a potentially higher option MAXN, but this can cause the board to throttle due to poor cooling and actually be slower, or even damage itself, see https://wiki.fly4future.com/hardware/computers/nvidia/jetson-orin-nx#power-modes

Testing

Tested on an Intel NUC and Nvidia Jetson

@vidvidex vidvidex marked this pull request as draft June 23, 2026 09:03
@vidvidex vidvidex changed the title Add a script to disable power saving on wlan0 network interface Add a script to disable power saving Jun 23, 2026
@vidvidex vidvidex marked this pull request as ready for review June 25, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant