From 8c9c1bd173846bac6f04b5c4c19b09a3cc8b515c Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 11 May 2024 12:48:03 -0700 Subject: [PATCH] feat: Restore power profile switcher on framework (#1289) --- just/bluefin-system.just | 16 ++++++++++++++++ packages.json | 2 +- system_files/shared/usr/libexec/ublue-user-setup | 2 ++ .../silverblue/usr/etc/dconf/db/local.d/01-ublue | 4 +++- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/just/bluefin-system.just b/just/bluefin-system.just index 4563de283d7..47a46680b19 100644 --- a/just/bluefin-system.just +++ b/just/bluefin-system.just @@ -255,6 +255,22 @@ configure-vfio ACTION="": sudo /usr/libexec/bluefin-dx-kvmfr-setup fi +# Change automatic power profile switching behavior +configure-auto-power-profile ACTION="help": + #!/usr/bin/bash + source /usr/lib/ujust/ujust.sh + OPTION={{ ACTION }} + if [ "$OPTION" == "help" ]; then + echo "Usage: ujust configure-auto-power-profile