2022-04-18 17:27:08 -04:00
# PowerTools
2023-08-24 19:26:36 -04:00
<!-- TODO Update badges for new git repo location -->
2023-03-27 22:17:59 -04:00
[](https://plugins.deckbrew.xyz/)
[](https://github.com/NGnius/PowerTools/wiki)
2023-08-24 19:26:36 -04:00
[](https://git.ngni.us/NG-SD-Plugins/PowerTools/src/branch/main/package.json)
2023-03-27 22:17:59 -04:00
[](https://liberapay.com/NGnius)
2023-08-24 19:26:36 -04:00
[](https://github.com/NGnius/PowerTools/blob/main/LICENSE)
[](https://github.com/NGnius/PowerTools/blob/main/pnpm-lock.yaml)
2023-03-27 22:17:59 -04:00
2022-06-10 20:02:05 -04:00

2022-04-21 18:15:41 -04:00
Steam Deck power tweaks for power users.
2022-04-18 21:21:51 +00:00
2022-07-10 14:20:34 -04:00
This is generated from the template plugin for the [Decky Plugin Loader ](https://github.com/SteamDeckHomebrew/decky-loader ).
2022-05-02 20:33:40 -04:00
You will need that installed for this plugin to work.
2022-04-18 21:21:51 +00:00
2022-05-04 10:37:32 -04:00
## What does it do?
- Enable & disable CPU threads & SMT
2022-09-05 21:36:01 -04:00
- Set CPU frequencies
- Set GPU frequencies and power (fastPPT & slowPPT)
- Cap battery charge rate (when awake)
2022-05-04 10:37:32 -04:00
- Display supplementary battery info
2022-09-11 11:37:26 -04:00
- Keep settings between restarts (stored in `~/.config/powertools/<gameId>.json` )
2022-05-04 10:37:32 -04:00
2023-08-24 19:26:36 -04:00
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.
2022-09-08 20:04:07 -04:00
## Install
2023-08-24 19:26:36 -04:00
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.
2022-09-08 20:04:07 -04:00
2022-09-06 17:29:42 -04:00
## Build
2023-08-24 19:26:36 -04:00
0. Requirements: a functioning Rust toolchain for x86_64-unknown-linux-gnu (or -musl), pnpm, and some tech literacy
2022-09-06 17:29:42 -04:00
1. In a terminal, navigate to the backend directory of this project and run `./build.sh`
2023-08-24 19:26:36 -04:00
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
2022-09-06 17:29:42 -04:00
2022-04-18 21:21:51 +00:00
## License
2022-04-18 17:27:08 -04:00
This is licensed under GNU GPLv3.