-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# Uzi-Battery-monitor | ||
A program to monitor if charger is plugged out and act accordingly | ||
|
||
You can install in cmd or python the program by running in root python scripts folder | ||
|
||
//code | ||
Python312\Scripts>pyinstaller --onefile --noconsole --hidden-import win10toast --additional-hooks-dir=. --icon=icons8-connect-48.ico battery_monitor.py | ||
|
||
|
||
depends on : | ||
|
||
//ensure to install in python before building THE APPlication.. | ||
import os | ||
import psutil | ||
import time | ||
from win10toast import ToastNotifier | ||
from tkinter import Tk, Label, Button, Entry, messagebox, Text, Toplevel, END | ||
import pystray | ||
from pystray import MenuItem as item | ||
from PIL import Image, ImageDraw | ||
import threading | ||
import sys | ||
|
||
|
||
free for modification and fair use | ||
|