added battery functions to --live (#646)

This commit is contained in:
PurpleWazard 2024-02-13 23:20:45 -06:00 committed by GitHub
parent 539914a545
commit 1d7f12e846
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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()