diff --git a/power.py b/power.py index db592b4..5e93e9d 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 < 65: - if battery < 50: + elif status == "OB DISCHRG" and battery < 70: + if battery < 65: batt_crit(battery) if ups_id == "Server": for node in servers: