From Fedora Project Wiki
m
(Add trackers)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= power-profiles-daemon =
= Use power-profiles-daemon on Workstation =


== Summary ==
== Summary ==
We will install power-profiles-daemon in Fedora Workstation and enable it by default. power-profiles-daemon allows the user to choose between optimizing for CPU performance or battery life.
We will install power-profiles-daemon in Fedora Workstation and enable it by default. power-profiles-daemon allows the user to choose between optimizing for system performance or battery life.


== Owner ==
== Owner ==
* Name: [[User:Hadess| Bastien Nocera]]
* Name: [[User:Hadess| Bastien Nocera]], [[User:Catanzaro|Michael Catanzaro]], [[User:Ngompa|Neal Gompa]]
* Email: bnocera@redhat.com
* Email: bnocera@redhat.com, mcatanzaro@redhat.com, ngompa13@gmail.com
* Name: [[User:Catanzaro|Michael Catanzaro]]
* Email: mcatanzaro@redhat.com
* Name: [[User:Ngompa|Neal Gompa]]
* Email: ngompa13@gmail.com
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
Line 16: Line 12:


== Current status ==
== Current status ==
[[Category:ChangeReadyForWrangler]]
[[Category:ChangeAcceptedF35]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 24: Line 20:
* Targeted release: [[Releases/35 | Fedora Linux 35 ]]  
* Targeted release: [[Releases/35 | Fedora Linux 35 ]]  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
* FESCo issue: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/2655 #2655]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1991574 #1991574]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/737 #737]


== Detailed Description ==
== Detailed Description ==
Line 59: Line 55:
== How To Test ==
== How To Test ==


Visit the Power settings panel in gnome-control-center and switch between performance, balanced, and power save mode. Look for unexpected behavior changes over long periods of time. For example, selecting Performance mode should improve CPU performance but reduce battery life. Selecting power save mode should reduce performance but increase battery life. Selecting balanced mode should not change anything.
Visit the Power settings panel in gnome-control-center and switch between performance, balanced, and power save mode. Look for unexpected behavior changes over long periods of time. For example, selecting Performance mode should improve system performance but reduce battery life. Selecting power save mode should reduce performance but increase battery life. Selecting balanced mode should not change anything.


The selected power save mode should persist across system reboots.
The selected power profile should persist across system reboots in Fedora 35. You can test in Fedora 34 as well if you install power-profiles-daemon manually, but note the power profile will not persist across reboots in Fedora 34.


== User Experience ==
== User Experience ==
Line 89: Line 85:
== Release Notes ==
== Release Notes ==


Fedora Workstation now ships with power-profiles-daemon installed and enabled.
Fedora Workstation now ships with power-profiles-daemon installed and enabled. This allows users to switch between standard, performance, and power save modes in the Power panel of System Settings. Power save mode will automatically be enabled on low battery.

Latest revision as of 13:22, 9 August 2021

Use power-profiles-daemon on Workstation

Summary

We will install power-profiles-daemon in Fedora Workstation and enable it by default. power-profiles-daemon allows the user to choose between optimizing for system performance or battery life.

Owner

Current status

Detailed Description

From the upstream README:

power-profiles-daemon offers to modify system behaviour based upon user-selected power profiles. There are 3 different power profiles, a "balanced" default mode, a "power-saver" mode, as well as a "performance" mode. The first 2 of those are available on every system. The "performance" mode is only available on select systems and is implemented by different "drivers" based on the system or systems it targets.

In addition to those 2 or 3 modes (depending on the system), "actions" can be hooked up to change the behaviour of a particular device. For example, this can be used to disable the fast-charging for some USB devices when in power-saver mode.

GNOME's Settings and shell both include interfaces to select the current mode, but they are also expected to adjust the behaviour of the desktop depending on the mode, such as turning the screen off after inaction more aggressively when in power-saver mode.

Feedback

Benefit to Fedora

Shipping power-profiles-daemon enables GNOME to display and offer users the ability to adjust configuration related to power management similar to other operating systems, which can improve the quality of the on-battery experience (with respect to longevity of operating on battery power).

Scope

  • Proposal owners: Add Recommends: power-profiles-daemon to gnome-control-center package. Add systemd preset to fedora-release.
  • Other developers: N/A (not needed for this Change)
  • Release engineering: N/A (not needed for this Change)
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives: Nope.

Upgrade/compatibility impact

power-profiles-daemon will be installed on upgrade to Fedora 35 if gnome-control-center is installed. Since the default power profile is the balanced mode, users should not notice performance changes (sans bugs), but the option to manually select either performance or power saving mode will now be present.

How To Test

Visit the Power settings panel in gnome-control-center and switch between performance, balanced, and power save mode. Look for unexpected behavior changes over long periods of time. For example, selecting Performance mode should improve system performance but reduce battery life. Selecting power save mode should reduce performance but increase battery life. Selecting balanced mode should not change anything.

The selected power profile should persist across system reboots in Fedora 35. You can test in Fedora 34 as well if you install power-profiles-daemon manually, but note the power profile will not persist across reboots in Fedora 34.

User Experience

GNOME Control Center will show a new section in the Power page giving users the option to select power modes:

  • Balanced (the default)
  • Performance (to maximize performance)
  • Power saver (to maximize battery life)

User selection of these profiles will set various tunables to meet the needs as described in the profiles.

Dependencies

gnome-control-center depends on power-profiles-daemon to offer power saving options. If not installed, these options will not be present in the power panel.

Contingency Plan

  • Contingency mechanism: we can easily remove the Recommends: in gnome-control-center or the preset in fedora-release if necessary.
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? No

Documentation

The only documentation is the upstream project README: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/blob/main/README.md

Release Notes

Fedora Workstation now ships with power-profiles-daemon installed and enabled. This allows users to switch between standard, performance, and power save modes in the Power panel of System Settings. Power save mode will automatically be enabled on low battery.