-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for configuring/overriding "Energy Performance Preference (EPP)" #619
Add support for configuring/overriding "Energy Performance Preference (EPP)" #619
Conversation
I love what's happening here, and instead of having it as "improvement" I want to have this as one of the features for next release. I could already merge it as it is, but I have another small request/suggestion which would make it perfect. Could you as part of this PR, make it visible as part of output what value is used, i.e What do you think, would this be possible from your side? |
I'm glad that you like the additions, @AdnanHodzic ! I see your suggestion is already present under --stats (CLI) as well as in the GUI. They both have the following line: Setting to use: "power" EPP Do you have another change in mind? |
Yes, this line could be re-used for this purpose. Reason why I mentioned it is because I used to see this line. Now with latest change I don't see anything being displayed as part of it. This is what
Also on this topic, let's make small changes to config file, so in front of |
@AdnanHodzic - I assume you're not seeing the EPP output because the following condition evaluates to false. Note, that this condition was in the code prior to my additions. In short, it is not shown because you're on an Intel processor, whereas I'm on AMD.
I pushed a new commit adding the "EPP: " to the config file comments. |
👍
I'm aware, it's just now that I realized now I'm no longer seeing it.
Indeed Then let's do this, since by default "EPP" line will come as enabled (not commented) in config file. Where in this case, EPP is not showing up, let's extend the code to something like:
Feel free to amend code block, it's just the first thing I could think of. |
@AdnanHodzic , I've added a message to be printed when EPP is not applicable:
|
LGTM, thank you for your contribution, you will be credited for your work as part of future release. |
Thank you!
…On Thu, Dec 28, 2023 at 11:11 PM Adnan Hodzic ***@***.***> wrote:
LGTM, thank you for your contribution, you will be credited for your work
as part of future release
<https://github.com/AdnanHodzic/auto-cpufreq/releases>.
—
Reply to this email directly, view it on GitHub
<#619 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6S2GPFESVCM5WVHEPBLF3YLZUK3AVCNFSM6AAAAABAYUK23OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRHAYDANRXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
… (EPP)" (AdnanHodzic#619) * Added support for configuring/overriding energy performance preference (EPP) * Corrected path to print available energy performance preferences in docs * Added "EPP" wording to config examples * Added message when EPP is not supported
These changes add support for configuring the energy performance preference value to be used when on charger and battery, via the auto-cpufreq config file. I've updated the readme and example config with examples.