Automated Change by GitHub Action

This commit is contained in:
okunze
2026-03-27 21:24:09 +00:00
committed by github-actions[bot]
parent 57498e55cd
commit a7203e0777
4 changed files with 16 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ try:
if prevnotifymsg != curnotifymsg:
notifymessage(curnotifymsg, curnotifycritical)
if tmp_battery <= 5 and tmp_charging != 0:
if tmp_battery <= 5 and tmp_charging == 0:
os.system("shutdown +1 """+curnotifymsg+".""")
prevnotifymsg = curnotifymsg