Last active
September 7, 2020 20:01
-
-
Save mmatczuk/a6298c0b7ab646e03f111d71457295ac to your computer and use it in GitHub Desktop.
Powertop turn off auto power mode for mouse and keyboard
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
Description=Powertop overtuning fixes | |
After=powertop.service | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/echo 'on' > '/sys/bus/usb/devices/1-2/power/control' | |
ExecStart=/usr/bin/echo 'on' > '/sys/bus/usb/devices/1-4/power/control' | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment