elementary / switchboard-plug-power

Switchboard Power Plug
GNU General Public License v2.0
19 stars 13 forks source link

Power profile chosen should be dependent on battery or plugged in mode #227

Closed spotlesscoder closed 9 months ago

spotlesscoder commented 1 year ago

Problem

When I run my PC on battery, I want it to use power saver mode. Once the PC switches to plugged in mode, I want the power profile to automatically change to "Performance"

Proposal

Store the selected power profile in the system settings dialog dependent on the previously selected mode (Plugged In / Battery) Example: Notebook is running on battery

First the "battery" tab is selected and power profile "Power saver" is chosen.

System should immediately apply power saving measures.

Then "plugged in" tab is selected. Power profile is changed to "Performance" Power saving measures should still be active because PC is running on battery.

Then the user switches to the "battery" tab again. The selected power profile option switches to "Power Saver" again because that is the setting the user chose for battery mode.

In addition, the settings dialog should clearly indicate which power profile is effectively used at the moment. For example, the label on the tab could be added an "(active)" behind the currently used label - e.g. "Battery (active)" / "Plugged In" or "Battery" / "Plugged In (active)"

Prior Art (Optional)

No response

ftphikari commented 1 year ago

Bump, this is a must for laptops.