mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-23 05:34:55 +02:00
Fix auto-cpufreq --daemon not persisting across reboot
This commit is contained in:
parent
429bf7672f
commit
1c11ca3139
@ -233,8 +233,8 @@ def gnome_power_svc_disable():
|
|||||||
print("There was a problem, couldn't determine GNOME Power Profiles Daemon")
|
print("There was a problem, couldn't determine GNOME Power Profiles Daemon")
|
||||||
snap_pkg_check = 0
|
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"
|
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"
|
"sudo python3 power_helper.py --gnome_power_enable"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user