Encore Tweaks integration to ACC
If you aren't familiar, [Encore Tweaks](https://encore.rem01gaming.dev) is a performance module that enhance device performance during gaming sessions, while keeping battery life optimized for normal use. It automatically applies performance tweaks when game was launched and reverts those tweaks back to normal values when game closed.
### So what this module had to do with ACC?
Recently Encore Tweaks just introduced Addon integration API to allow other modules to work together with Encore Tweaks, well more information and docs is available [here](https://encore.rem01gaming.dev/guide/addon.html).
I really have cool idea that ACC can enable idle charging when user playing games via this API, preventing overheating when playing with charger on and preserving battery live.
### The Idea
1. Read polling to `/dev/encore_mode`, or even better inotify.
2. If value is 1 (A.K.A Performance profile), enable idle charging otherwise disable.
关闭于 2025-05-15 2 条评论