From 1d7f12e8466e8b5204a7d3af412f151987fc3cd8 Mon Sep 17 00:00:00 2001 From: PurpleWazard <155469001+PurpleWazard@users.noreply.github.com> Date: Tue, 13 Feb 2024 23:20:45 -0600 Subject: [PATCH] added battery functions to --live (#646) --- auto_cpufreq/bin/auto_cpufreq.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto_cpufreq/bin/auto_cpufreq.py b/auto_cpufreq/bin/auto_cpufreq.py index 5005648..39fb094 100755 --- a/auto_cpufreq/bin/auto_cpufreq.py +++ b/auto_cpufreq/bin/auto_cpufreq.py @@ -119,6 +119,8 @@ def main(config, daemon, debug, update, install, remove, live, log, monitor, sta config_info_dialog() print('\nNote: You can quit live mode by pressing "ctrl+c"') time.sleep(1) + battery_setup() + battery_get_thresholds() if os.getenv("PKG_MARKER") == "SNAP": gnome_power_detect_snap() tlp_service_detect_snap()