diff --git a/power.py b/power.py index 1c8fdf8..db592b4 100644 --- a/power.py +++ b/power.py @@ -191,8 +191,8 @@ def main(): else: logger.info(f"UPS status changed to: {status}") prev_status = status - elif status == "OB DISCHRG" and battery < 50: - if battery < 25: + elif status == "OB DISCHRG" and battery < 65: + if battery < 50: batt_crit(battery) if ups_id == "Server": for node in servers: