change battery values based on testing

This commit is contained in:
crate 2024-10-12 02:47:49 -05:00
parent e108e7fbcc
commit b691efb86b

View File

@ -191,8 +191,8 @@ def main():
else: else:
logger.info(f"UPS status changed to: {status}") logger.info(f"UPS status changed to: {status}")
prev_status = status prev_status = status
elif status == "OB DISCHRG" and battery < 50: elif status == "OB DISCHRG" and battery < 65:
if battery < 25: if battery < 50:
batt_crit(battery) batt_crit(battery)
if ups_id == "Server": if ups_id == "Server":
for node in servers: for node in servers: