Python Projects
Published in

Python Projects

Check Battery Percent of your PC/Laptop using Python

The Python script below can be run in both Windows and Linux.

Install psutil in windows by :

pip install psutil

Install psutil in Linux by:

sudo apt-get install gcc python3-dev
sudo pip3 install psutil

What is psutil?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store