mirror of
https://github.com/okunze/Argon40-ArgonOne-Script.git
synced 2026-04-15 18:47:24 +02:00
Automated Change by GitHub Action
This commit is contained in:
committed by
github-actions[bot]
parent
57498e55cd
commit
a7203e0777
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user