forked from NG-SD-Plugins/PowerTools
43 lines
2.9 KiB
Markdown
43 lines
2.9 KiB
Markdown
# PowerTools
|
|
<!-- TODO Update badges for new git repo location -->
|
|
[](https://plugins.deckbrew.xyz/)
|
|
[](https://github.com/NGnius/PowerTools/wiki)
|
|
[](https://git.ngni.us/NG-SD-Plugins/PowerTools/src/branch/main/package.json)
|
|
|
|
[](https://liberapay.com/NGnius)
|
|
[](https://github.com/NGnius/PowerTools/blob/main/LICENSE)
|
|
[](https://github.com/NGnius/PowerTools/blob/main/pnpm-lock.yaml)
|
|
|
|

|
|
|
|
Steam Deck power tweaks for power users.
|
|
|
|
This is generated from the template plugin for the [Decky Plugin Loader](https://github.com/SteamDeckHomebrew/decky-loader).
|
|
You will need that installed for this plugin to work.
|
|
|
|
## What does it do?
|
|
|
|
- Enable & disable CPU threads & SMT
|
|
- Set CPU frequencies
|
|
- Set GPU frequencies and power (fastPPT & slowPPT)
|
|
- Cap battery charge rate (when awake)
|
|
- Display supplementary battery info
|
|
- Keep settings between restarts (stored in `~/.config/powertools/<gameId>.json`)
|
|
|
|
This plugin is tested on Steam Deck, but is designed to work on other Linux devices as well. Unfortunately I am currently unable to test on other devices.
|
|
|
|
## Install
|
|
|
|
Please use Decky's [built-in store](https://plugins.deckbrew.xyz/) to install official releases.
|
|
If you want to test unstable versions, use [my custom store](https://not-decky-alpha.ngni.us/plugins). If you would like to use an in-development version, feel free to build PowerTools yourself.
|
|
|
|
## Build
|
|
|
|
0. Requirements: a functioning Rust toolchain for x86_64-unknown-linux-gnu (or -musl), pnpm, and some tech literacy
|
|
1. In a terminal, navigate to the backend directory of this project and run `./build.sh`
|
|
2. In the root of this project, run `pnpm run build`
|
|
3. Transfer the project (especially dist/ and bin/) to a folder in your Steam Deck's `~/homebrew/plugins` directory
|
|
|
|
## License
|
|
|
|
This is licensed under GNU GPLv3.
|