Automatically switch power profile when plugged in (balanced) and unplugged (power saver) (#4375)

* Set Power Profiles Rules when plugged in (balanced) and unplugged (power-saver)"

* Check for battery presence before installing power profile rules

* Add battery presence check script and update powerprofilesctl rules

* fix indentation

* Simplify power profile rule creation logic
This commit is contained in:
Pierre Olivier Martel authored and GitHub committed 2026-01-29 17:37:18 +01:00
1 parent ec305459f8
commit f78f5b2c2c
4 files changed
+40

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
echo "Set Power Profiles Rules when plugged in (balanced) and unplugged (power-saver)"
source $OMARCHY_PATH/install/config/powerprofilesctl-rules.sh