Windows 10 based tool to monitor and analyze your system's power and battery usage
Explore the website »
Join Slack
·
Report Bug
·
Request Feature
·
Give Feedback
Powir is a Windows 10 based tool to monitor and analyze your system's power and battery usage.
It provides you with various information and statistics about the current and overall history of the power and battery usage of your system.
There are two ways to install powir:
Desktop App (Main Mode): Installation is as quick as simply downloading the executable and running it. The App is completely portable meaning you don't have to go through an installation wizard, and it can be copied from system to system seamlessly without any dependencies or extra files needed. Recommended
Browser Window (Lite Mode): Installation requires few pre-requisites (node & npm) and firing a command from the command prompt which opens up a tab in your default browser serving file via a local server. Actions (Export PDF, JSON) are missing in the lite mode.
powercfg /batteryreport
in the terminalNote: Since the application isn't code signed yet (because all of the certificates require annual fee payment regardless of whether you're non-profit or open-source). Please refer to the issue: #1, Both (Browser & Windows Defender will raise warnings suggesting that app is not protected).
This doesn't mean that application is inherently unsafe in fact entire source code is open, and you can build your own distribution following Build section but its due to the paperwork and money involved in getting the certificates to sign the applications which can cost as much as $699 a year or more.
If you are someone who has an experience around self signing certificates with Windows based builds which result in bypassing these warnings, kindly reply in the given thread #1 :)
For now the solution is to simply ignore the warnings as shown below and always download the application from this repository only:
Open up the terminal (for non-developers: that is Command Prompt [cmd.exe]) and follow these instructions:
Commands (copy-paste):
git clone https://github.com/SlapBot/powir.git
cd powir
npm install --production
Explanation:
git --version
, node -v
and npm -v
respectively, else install it from here: Git and NodeJS (installer contains both node and npm)git clone https://github.com/SlapBot/powir.git
and cd into the folder: cd powir
npm install --production
to install dependenciesCommand (copy-paste)
npm run lite-mode
Explanation:
npm run lite-mode
whenever you want from the directory, and it will open up the dashboard allowing you to monitor and analyze power states.Is it completely free?
Yes, Powir is 100% free to download and use.
Are the numbers displayed 100% correct?
Depends, Powir parses the raw reports generated from Windows and does the computations of the various statistics and render the charts.
What tooling is used to build the app?
Powir runs as an electron app (chromium web engine embedded) while using React to facilitate the UI and data workflow.
Does it share my data anywhere?
No, Powir will never share your data anywhere outside your local system, the entire source code of the app is online for anyone to check. In fact, it never makes any request to a server since there is none. Its simply a client sided app.
If you're looking to build it from the source or inspect the app, its extremely simply and you only have to follow few instructions as listed below:
git clone https://github.com/SlapBot/powir.git
cd powir
and run: npm install
npm run build
which will package the app at dist/
folder.npm run react-start
npm run electron-start
public/server
directory.public/electron.js
.src
directory.npm run electron-start
npm run lite-mode
which opens up a tab in your default browser again with HMR enabled.public/browser.js
.src
directory.npm run lite-mode
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Feel free to join our slack chat group to get more help: Slack
Distributed under the GPU General Public License. See LICENSE
for more information.
Hey there! I'm Ujjwal who goes around with the name Slapbot in open source communities, You'd often find me blabbering my completely biased opinions in /r/soccer or busy building new things.
I'm most accessible via Twitter and tend to update about whatever I'm working there, so feel free to follow or send a dm there. :)
Many thanks to these amazing frameworks/libraries/tools/arts without which none of this had been possible! <3