From d770486d87aa63a318e8916861fc1a318f90b165 Mon Sep 17 00:00:00 2001 From: Josue Zamudio Date: Thu, 29 Oct 2026 08:45:04 -0700 Subject: [PATCH] fix(power): stop forcing the TLP power-saver profile at login `exec tlpctl power-saver` made tlp-pd apply the *_ON_SAV keys even on AC, so platform_profile stayed low-power while docked and the battery tuning never took effect on charger. tlp-pd's default 'balanced' profile already flips on charger events. Profile writes are polkit-gated, so flips must be done from the session (`tlpctl set balanced`), not via runuser/su. --- .config/sway/config | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index cabfbd8..30740c6 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -87,7 +87,16 @@ exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec flatpak run com.github.wwmm.easyeffects -w exec xrdb -merge ~/.Xresources -exec tlpctl power-saver +# Removed 2026-10-27 (power audit): forcing the power-saver profile made TLP apply +# *_ON_SAV keys even on AC, so the platform profile stayed low-power when docked and +# the *_ON_BAT tuning in /etc/tlp.d/90-framework.conf never ran. tlp-pd's default +# 'balanced' profile already switches on charger events -- no script needed. +# # Removed 2026-10-28 (power audit): forcing power-saver made TLP apply *_ON_SAV +# keys even on AC, so the docked platform profile stayed low-power and the +# *_ON_BAT tuning never ran. tlp-pd's 'balanced' profile switches on charger +# events by itself. NOTE: profile writes are polkit-gated -- flip manually with +# tlpctl set balanced (from the desktop session, not via runuser/su). +# exec tlpctl power-saver #exec gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"