change battery values based on testing
This commit is contained in:
parent
e108e7fbcc
commit
b691efb86b
4
power.py
4
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:
|
||||
|
Loading…
Reference in New Issue
Block a user