Support quiet, cool and balanced_performance (BugFix)#1958
Merged
KaiChuan-Hsieh merged 4 commits intomainfrom Jun 20, 2025
Merged
Support quiet, cool and balanced_performance (BugFix)#1958KaiChuan-Hsieh merged 4 commits intomainfrom
KaiChuan-Hsieh merged 4 commits intomainfrom
Conversation
497778d to
79dbfd1
Compare
79dbfd1 to
bebf70b
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1958 +/- ##
=======================================
Coverage 50.52% 50.52%
=======================================
Files 384 384
Lines 41111 41114 +3
Branches 7531 7532 +1
=======================================
+ Hits 20770 20773 +3
Misses 19599 19599
Partials 742 742
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
@KaiChuan-Hsieh Could you help review it? Thanks! |
5f7a7bd to
9f994c1
Compare
9f994c1 to
5d6b08d
Compare
bcfe663 to
ab69c8a
Compare
mreed8855
pushed a commit
that referenced
this pull request
Jul 30, 2025
* Support quiet, cool and balanced_performance. https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/commit/6b565b0b05a2bc92e3c546a567b394f415937265 * Handle the unexpected profile name * Updated testcase to cover the unhandled exit * Using format for compatibility
mreed8855
pushed a commit
that referenced
this pull request
Jul 31, 2025
* Support quiet, cool and balanced_performance. https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/commit/6b565b0b05a2bc92e3c546a567b394f415937265 * Handle the unexpected profile name * Updated testcase to cover the unhandled exit * Using format for compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new power-profile-daemon support some new value from platform_profile in the commit below.
https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/commit/6b565b0b05a2bc92e3c546a567b394f415937265
Description
We found the testcase will be failed on Dell platform.
power-management/switch_power_mode failed
certification_status: non-blocker
[I/O log]
Failed to communicate with power-profiles-daemon: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.Failed: Invalid profile name 'quiet' (0)
Power mode choices: ['quiet', 'balanced', 'performance']
Failed to set power mode to quiet.
Resolved issues
JIRA: SOMERVILLE-2363
Tests
$ checkbox-cli run com.canonical.certification::power-management/switch_power_mode
==============[ Running job 4 / 4. Estimated time left: 0:00:10 ]===============
---------------------[ power-management/switch_power_mode ]---------------------
ID: com.canonical.certification::power-management/switch_power_mode
Category: com.canonical.plainbox::power-management
... 8< -------------------------------------------------------------------------
Power mode choices: ['quiet', 'balanced', 'performance']
Switch to quiet successfully.
Switch to balanced successfully.
Switch to performance successfully.
------------------------------------------------------------------------- >8 ---
Outcome: job passed
Finalizing session that hasn't been submitted anywhere: checkbox-run-2025-06-13T05.56.50
==================================[ Results ]===================================
☑ : Collect information about kernel modules
☑ : Discover if the system supports power modes via acpi
☑ : Collect information about installed software packages
☑ : power-management/switch_power_mode