2022-04-18 22:27:08 +01:00
# PowerTools
2022-04-18 22:21:51 +01:00
2023-03-28 03:17:59 +01:00
[![Decky store ](https://img.shields.io/badge/dynamic/json?color=blue&label=release&query=%24%5B%3F%28%40.name%3D%3D%27PowerTools%27%29%5D.versions%5B0%5D.name&url=https%3A%2F%2Fplugins.deckbrew.xyz%2Fplugins&style=flat-square )](https://plugins.deckbrew.xyz/)
[![Custom store ](https://img.shields.io/badge/dynamic/json?color=blue&label=preview&query=%24%5B%3F%28%40.name%3D%3D%27PowerTools%27%29%5D.versions%5B0%5D.name&url=https%3A%2F%2Fnot-decky-alpha.ngni.us%2Fplugins&style=flat-square )](https://github.com/NGnius/PowerTools/wiki)
[![Liberapay ](https://img.shields.io/liberapay/patrons/NGnius?style=flat-square )](https://liberapay.com/NGnius)
[![GitHub ](https://img.shields.io/github/license/NGnius/PowerTools?style=flat-square )](https://github.com/NGnius/PowerTools/blob/main/LICENSE)
[![GitHub package.json version ](https://img.shields.io/github/package-json/v/NGnius/PowerTools?style=flat-square )](https://github.com/NGnius/PowerTools/blob/main/package.json)
[![GitHub package.json dependency version (prod) ](https://img.shields.io/github/package-json/dependency-version/NGnius/PowerTools/decky-frontend-lib?style=flat-square )](https://github.com/NGnius/PowerTools/blob/main/pnpm-lock.yaml)
2022-06-11 01:02:05 +01:00
![plugin_demo ](./assets/ui.png )
2022-04-21 23:15:41 +01:00
Steam Deck power tweaks for power users.
2022-04-18 22:21:51 +01:00
2022-07-10 19:20:34 +01:00
This is generated from the template plugin for the [Decky Plugin Loader ](https://github.com/SteamDeckHomebrew/decky-loader ).
2022-05-03 01:33:40 +01:00
You will need that installed for this plugin to work.
2022-04-18 22:21:51 +01:00
2022-05-04 15:37:32 +01:00
## What does it do?
- Enable & disable CPU threads & SMT
2022-09-06 02:36:01 +01:00
- Set CPU frequencies
- Set GPU frequencies and power (fastPPT & slowPPT)
- Cap battery charge rate (when awake)
2022-05-04 15:37:32 +01:00
- Display supplementary battery info
2022-09-11 16:37:26 +01:00
- Keep settings between restarts (stored in `~/.config/powertools/<gameId>.json` )
2022-05-04 15:37:32 +01:00
2022-09-09 01:04:07 +01:00
## Install
2022-09-09 04:31:34 +01:00
Please use Decky's [built-in store ](https://beta.deckbrew.xyz/ ) to install official releases.
2022-09-09 01:04:07 +01:00
If you're an advanced user, and/or would like to use an in-development version, feel free to build PowerTools yourself.
2022-09-06 22:29:42 +01:00
## Build
0. Requirements: a functioning Rust toolchain for x86_64-unknown-linux-musl, npm, 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 `npm run build`
3. Transfer the project (especially dist/ and bin/) to a folder in your Steam Deck's homebrew plugins directory
2022-04-18 22:21:51 +01:00
## License
2022-04-18 22:27:08 +01:00
This is licensed under GNU GPLv3.