formated --stats better with battery info

This commit is contained in:
purple wazard 2024-04-26 10:34:21 -05:00
parent 0effebe3bb
commit 4425c32bd0

View File

@ -144,7 +144,6 @@ def main(config, daemon, debug, update, install, remove, live, log, monitor, sta
sys.exit() sys.exit()
elif stats: elif stats:
not_running_daemon_check() not_running_daemon_check()
battery_get_thresholds()
config_info_dialog() config_info_dialog()
print('\nNote: You can quit stats mode by pressing "ctrl+c"') print('\nNote: You can quit stats mode by pressing "ctrl+c"')
if os.getenv("PKG_MARKER") == "SNAP": if os.getenv("PKG_MARKER") == "SNAP":
@ -153,6 +152,7 @@ def main(config, daemon, debug, update, install, remove, live, log, monitor, sta
else: else:
gnome_power_detect() gnome_power_detect()
tlp_service_detect() tlp_service_detect()
brttery_get_thresholds()
read_stats() read_stats()
elif log: elif log:
deprecated_log_msg() deprecated_log_msg()
@ -163,8 +163,8 @@ def main(config, daemon, debug, update, install, remove, live, log, monitor, sta
elif debug: elif debug:
# ToDo: add status of GNOME Power Profile service status # ToDo: add status of GNOME Power Profile service status
config_info_dialog() config_info_dialog()
battery_get_thresholds()
root_check() root_check()
battery_get_thresholds()
cpufreqctl() cpufreqctl()
footer() footer()
distro_info() distro_info()