Add instructions for setting TDP at boot
This commit is contained in:
parent
ba77bdcfa3
commit
27b240ec9e
|
@ -48,3 +48,19 @@ tdp c -d
|
||||||
```
|
```
|
||||||
|
|
||||||
*Protip:* Add `tdp check` to the end of your `.bashrc` file. Then your terminal will display the TDP every time it's opened, without needing to run any command.
|
*Protip:* Add `tdp check` to the end of your `.bashrc` file. Then your terminal will display the TDP every time it's opened, without needing to run any command.
|
||||||
|
|
||||||
|
### Setting TDP at boot
|
||||||
|
|
||||||
|
Copy `tdp-set.service` into `/etc/systemd/system/`
|
||||||
|
|
||||||
|
Edit `/etc/systemd/system/tdp-set.service` and edit the `ExecStart=` line so it points to your tdp script, and type in your preferred wattage at the end.
|
||||||
|
|
||||||
|
|
||||||
|
Enable the service:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo systemctl deamon-reload
|
||||||
|
sudo systemctl enable tdp-set.service
|
||||||
|
```
|
||||||
|
|
||||||
|
Reboot your Win 3, then run `tdp check` to verify that TDP was set correctly.
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Sets GPD Win 3 TPD at boot
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/replace/this/path/to/scirpts/tdp set 12
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue