Fix auto-cpufreq --daemon not persisting across reboot

This commit is contained in:
Adnan Hodzic 2024-08-31 21:45:56 +02:00
parent 429bf7672f
commit 1c11ca3139
1 changed files with 2 additions and 2 deletions

View File

@ -233,8 +233,8 @@ def gnome_power_svc_disable():
print("There was a problem, couldn't determine GNOME Power Profiles Daemon")
snap_pkg_check = 0
if snap_pkg_check == 1:
if not bool(gnome_power_status) and powerprofilesctl_exists:
if not bool(gnome_power_status) and powerprofilesctl_exists:
if snap_pkg_check == 1:
print("auto-cpufreq snap package not installed.\nGNOME Power Profiles Daemon should be enabled, run:\n\n"
"sudo python3 power_helper.py --gnome_power_enable"
)