Skip to content

Commit 2b9c1de

Browse files
committed
Added README file
1 parent 3cb3c07 commit 2b9c1de

3 files changed

Lines changed: 25 additions & 3 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Battery Notificator
2+
3+
This python script gives you a notification about your battery percentage of the device.
4+
5+
## Pre-requisites:
6+
7+
You will need to install python on your machine. You can download python from the python.org and install it.
8+
And a few other python package that you need to install are as :
9+
1. psutil
10+
> pip install psutil
11+
12+
2. pynotifier
13+
> pip install py-notifier
14+
15+
3. win10toast
16+
> pip install win10toast
17+
18+
## How to run the Script:
19+
python battery.py
20+
21+
## Authon Name:
22+
Bharat Gupta

‎projects/Battery_notification/battery.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
percent = battery.percent
77

88
if percent >= 30:
9-
10-
# pip install pynotifier
9+
10+
# pip install py-notifier
1111
# pip install win10toast
1212
from pynotifier import Notification
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
psutil==5.7.2
2-
pynotifier==0.1
2+
py-notifier==0.1
33
win10toast==0.9

0 commit comments

Comments
 (0)