Last active
September 19, 2022 12:41
-
-
Save thamudi/27627f0e3d9318b9127c44b6be934ef0 to your computer and use it in GitHub Desktop.
Power management scripts
This file contains 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
#!/bin/bash | |
# Author: thamudi | |
# profile: https://github.com/thamudi | |
## You will need iwconfig to run the script | |
## Keep in mind that wlp4s0 is my wifi interface and you will need to change it with yours accordingly | |
## You can find out which one is yours by simply running iwconfig | |
## Use the below script to toggle power saving on | |
# /sbin/iwconfig wlp4s0 power on | |
## Use the below script to toggle power saving off | |
# iwconfig wlp4s0 power off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment