Skip to content

Commit 54daeb9

Browse files
authored
Update Battery-Notification.py
1 parent e8a3559 commit 54daeb9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Battery-Notification/Battery-Notification.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
notification.notify(
99
title = "Battery Percentage",
1010
message = str(percent) + "% Battery Remaining",
11-
timeout = 10
11+
timeout = 5
1212
)
1313
#After every 60 minutes it will show the battery percentage via a notification
14-
time.sleep(60*60)
15-
16-
17-
continue
14+
time.sleep(60)
15+
continue

0 commit comments

Comments
 (0)