20768edcf6
Now the script works on both FreeBSD and Linux, and it exits properly so switching between docked and undocked doesn't cause problems for waybar.
14 lines
414 B
Plaintext
14 lines
414 B
Plaintext
# Manually disable power save:
|
|
# iw wlan0 set power_save off
|
|
|
|
## High power:
|
|
options iwlwifi power_save=0
|
|
# options iwlwifi uapsd_disable=1
|
|
options iwlmvm power_scheme=1 # 1-active, 2-balanced, 3-low power, default: 2 (int)
|
|
|
|
## Low power:
|
|
# options iwlwifi power_save=1
|
|
# ? power_level:default power save level (range from 1 - 5, default: 1) (int)
|
|
# options iwlwifi uapsd_disable=0
|
|
# options iwlmvm power_scheme=3
|