Skip to content
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

Allow using Performance power profile on desktop #425

Merged
merged 3 commits into from
Mar 25, 2024
Merged

Allow using Performance power profile on desktop #425

merged 3 commits into from
Mar 25, 2024

Conversation

laniakea64
Copy link
Contributor

Fixes #424

This patch assumes 27192d2 specifically intended to disable Battery power profile on desktops, since desktop computers don't have battery power like laptops. I don't know what the power profiles do internally, so please let me know if that assumption is incorrect.

Also ran rustfmt on the changed area of that file, hoping to keep code style consistent with existing code.

@mmstick mmstick requested a review from a team March 16, 2024 04:13
mmstick
mmstick previously approved these changes Mar 16, 2024
@laniakea64
Copy link
Contributor Author

That should fix the failing rustfmt check. Would it be helpful if I squash the last two commits into one?

@mmstick
Copy link
Member

mmstick commented Mar 18, 2024

There's no need. I will squish and rewrite the commit description on merge.

Copy link
Member

@leviport leviport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Profiles still work on laptops, and this enables switching between balanced and performance on desktops. Thanks!

@laniakea64
Copy link
Contributor Author

Hi, do you need anything else from me on this?

It says pull requests need at least 2 approving reviews before merge, but the only change since @mmstick 's approval was rustfmt adding one comma. Also, FWIW, I have been using system76-power version 1.1.26~1710786631~22.04~f64b190 from this branch in production on my Thelio Major without issue.

Thanks for your reviews.

@mmstick mmstick merged commit 6bbe1c2 into pop-os:master Mar 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

March 12th update kills performance of Thelio Major
3 participants