batt values tweaked based on testing
This commit is contained in:
parent
b691efb86b
commit
accb805db6
4
power.py
4
power.py
@ -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 < 65:
|
elif status == "OB DISCHRG" and battery < 70:
|
||||||
if battery < 50:
|
if battery < 65:
|
||||||
batt_crit(battery)
|
batt_crit(battery)
|
||||||
if ups_id == "Server":
|
if ups_id == "Server":
|
||||||
for node in servers:
|
for node in servers:
|
||||||
|
Loading…
Reference in New Issue
Block a user