Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 54daeb9

Browse files
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‎

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)

AltStyle によって変換されたページ (->オリジナル) /