Skip to content

Commit

Permalink
Fix auto-cpufreq --daemon not persisting across reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
AdnanHodzic committed Aug 31, 2024
1 parent 429bf76 commit 1c11ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto_cpufreq/power_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 1c11ca3

Please sign in to comment.