Skip to content

ranagwho/Battery-Safe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Battery-Safe

Python daemon to notify you when you should plug and unplug your computer. The need for this project was born out from my carelessness of letting my previous Macbook charge for hours, until my battery stopped holding charge, and I had to move to a new machine.

Instructions

Set up virtual environment

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Start the daemon

nohup python3 -u -m BatterySafe &

Viewing the logs

tail -f nohup.out

Kill the daemon

ps ax | grep BatterySafe
kill -9 <process_id>

About

๐Ÿ”‹ Python daemon to notify you when you should plug and unplug your computer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages