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.
This commit is contained in:
jozamudi committed 2026-10-29 08:45:04 -07:00
1 parent 085c2a7951
commit d770486d87
1 file changed
+10 -1
+10 -1
View File
@@ -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"