From accb805db66d773e86eec873c1b3ab4c9b1be686 Mon Sep 17 00:00:00 2001 From: crate Date: Sat, 12 Oct 2024 03:10:09 -0500 Subject: [PATCH] batt values tweaked based on testing --- power.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: