diff --git a/shutdown_ups.py b/shutdown_ups.py index 729cfe7..b6a3508 100644 --- a/shutdown_ups.py +++ b/shutdown_ups.py @@ -88,7 +88,7 @@ def main(): if result is None: continue battery_percent = int(result) - print(f"UPS percent: {battery_percent}, time on battery: {time_on_battery} minutes, state: {state}", flush=True) + print(f"Batterry {battery_percent}%, {state}, estimated time on battery: {time_on_battery} minutes", flush=True) shutdown_status = run_command('shutdown --show') @@ -106,4 +106,3 @@ def main(): if __name__ == "__main__": print("Starting UPS monitoring...", flush=True) main() - \ No newline at end of file