Skip to content

Commit 54daeb9

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

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Battery-Notification/Battery-Notification.py

Lines changed: 3 additions & 5 deletions
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)