All Projects → SlapBot → powir

SlapBot / powir

Licence: GPL-3.0 license
Powir is a Windows 10 based tool to monitor and analyze your system's power and battery usage.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to powir

RxBatteryManager
A Reactive BatteryManager in Swift for iOS
Stars: ✭ 21 (-82.35%)
Mutual labels:  battery-monitor, battery-information, battery-status
PureBatteryAnalytics
This is a repository for Pure Battery Analytics. Both the System Tray Add-on & Main Application.
Stars: ✭ 46 (-61.34%)
Mutual labels:  battery, battery-monitor, battery-status
bat
Battery management utility for Linux laptops.
Stars: ✭ 107 (-10.08%)
Mutual labels:  battery, battery-monitor
zelda-battery
A Legend of Zelda inspired health-bar battery meter for the CLI and GUI
Stars: ✭ 22 (-81.51%)
Mutual labels:  battery, battery-monitor
Powershell-HTML5-Reporting
New, simple, fast HTML5 builder to create awesome reporting.
Stars: ✭ 55 (-53.78%)
Mutual labels:  chartjs
healthi-app
Simple app to check your laptop's battery health.
Stars: ✭ 47 (-60.5%)
Mutual labels:  battery
Chartboard
Simple dashboard to show widget chart
Stars: ✭ 23 (-80.67%)
Mutual labels:  chartjs
diyBMSv4Code
Software for diyBMS v4
Stars: ✭ 128 (+7.56%)
Mutual labels:  battery-monitor
Voice4Rural
A complete one stop solution for all the problems of Rural area people. 👩🏻‍🌾
Stars: ✭ 12 (-89.92%)
Mutual labels:  chartjs
chartjs-plugin-datasource-prometheus
Chart.js plugin for Prometheus data loading
Stars: ✭ 77 (-35.29%)
Mutual labels:  chartjs
Covid19-Tracker
The situation of the Coronavirus epidemic data around the World and details info in Vietnam.
Stars: ✭ 15 (-87.39%)
Mutual labels:  chartjs
vue3-chartjs
Vue3 wrapper for ChartJS
Stars: ✭ 122 (+2.52%)
Mutual labels:  chartjs
PETLION.jl
High-performance simulations of the Porous Electrode Theory for Li-ion batteries
Stars: ✭ 41 (-65.55%)
Mutual labels:  battery
AirPodsDesktop
☄️ AirPods desktop user experience enhancement program, for Windows and Linux (WIP)
Stars: ✭ 462 (+288.24%)
Mutual labels:  battery
kafkaESK
An event-driven monitoring tool that can consume messages from Apache Kafka clusters and display the aggregated data on a dashboard for analysis and maintenance.
Stars: ✭ 79 (-33.61%)
Mutual labels:  chartjs
browser-apis
🦄 Cool & Fun Browser Web APIs 🥳
Stars: ✭ 21 (-82.35%)
Mutual labels:  battery
chartjs-plugin-piechart-outlabels
Highly customizable Chart.js plugin that displays labels outside the pie/doughnut chart.
Stars: ✭ 46 (-61.34%)
Mutual labels:  chartjs
chip-battery-status
PocketCHIP battery status for xfce4 desktop
Stars: ✭ 16 (-86.55%)
Mutual labels:  battery-status
robo-chart-web
📊 Transform Google sheets to pretty charts!
Stars: ✭ 28 (-76.47%)
Mutual labels:  chartjs
quickchart-js
Javascript client for quickchart.io
Stars: ✭ 34 (-71.43%)
Mutual labels:  chartjs

Logo

Powir

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


Table of Contents


About The Project

What is it?

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.

Installation

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

    • Terminal: Simply download the binary and run it:
    curl -L https://github.com/SlapBot/powir/releases/download/v1.0.4/powir.1.0.4.exe --output powir.exe
    ./powir
    • Double Click: Again download the binary and run it but please read this note
  • 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.

Features

What it does?

  • Provides you with a simple and clean UI to list your battery and system information.
  • Shows you the change in battery capacity since the OS was installed.
  • Analyzes the current and overall estimated battery life of your system.
  • Computes various statistics to give a better understanding of your power usage.
  • Ability to export all the data via various formats: PDF (app), JSON (processed), HTML (original report).
  • 100% free and completely open-source for an absolute transparency.
  • Completely portable app with no installation required, ready to use out of the box.

Why build it?

  • Complete lack of any such power/battery monitoring analyzing tool available in the market.
  • Obscure documentation over how to find battery statuses on the Internet.
  • Required to use terminal in order to run a command showing information about the system.
  • Devoid of any simple and understandable metrics from the underlying API or report.

Actions

  • Export the current report of your system from Powir in PDF format
  • Export the parsed and processed data of your system from Powir in JSON format
  • Shows original report generated by Windows using the command: powercfg /batteryreport in the terminal

Gallery

Battery Information

System Information

Power And Battery Usage

Installation Methods

Desktop App (Main Mode)

  • Simply go to Releases and pick the latest version to download.
  • Download Current Latest Version (Powir v1): Github or GDrive: Please take a note below before downloading the app

Browser And Windows Defender Warnings

Note: 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 :)

Solution

For now the solution is to simply ignore the warnings as shown below and always download the application from this repository only:


Browser Window (Lite Mode)

Open up the terminal (for non-developers: that is Command Prompt [cmd.exe]) and follow these instructions:

Only one time setup

Commands (copy-paste):

git clone https://github.com/SlapBot/powir.git
cd powir
npm install --production

Explanation:

  • Ensure you have git, node and npm installed using commands: git --version, node -v and npm -v respectively, else install it from here: Git and NodeJS (installer contains both node and npm)
  • Clone the repository using: git clone https://github.com/SlapBot/powir.git and cd into the folder: cd powir
  • Run npm install --production to install dependencies

Anytime

Command (copy-paste)

npm run lite-mode

Explanation:

  • Now simply run 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.

FAQs

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.


Developer

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:

Prerequisites

  • Git
  • Node
  • NPM

Setup

  • Clone the repository: git clone https://github.com/SlapBot/powir.git
  • Cd into the directory: cd powir and run: npm install

Build

  • Run npm run build which will package the app at dist/ folder.

Usage

Electron App

  • Run these two commands in two separate sessions when you are developing in order to use HMR (hot module reloading):
    • Run react server: npm run react-start
    • Run electron app: npm run electron-start
  • All of the server code is located at: public/server directory.
  • Entrypoint of the electron app is atpublic/electron.js.
  • Everything related to rendering is done at: src directory.
  • Any of the changes you make at src directory will reflect instantly in the app.
  • Any of the changes made for server requires the app to be restarted using: npm run electron-start

Browser Window App

  • Run npm run lite-mode which opens up a tab in your default browser again with HMR enabled.
  • Entrypoint of the browser window app is atpublic/browser.js.
  • Everything related to rendering is done at: src directory.
  • Any of the changes you make at src directory will reflect instantly in the app.
  • Any of the changes made for server requires the app to be restarted using: npm run lite-mode

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Feel free to join our slack chat group to get more help: Slack

License

Distributed under the GPU General Public License. See LICENSE for more information.

Contact

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. :)

Acknowledgement

Many thanks to these amazing frameworks/libraries/tools/arts without which none of this had been possible! <3

Major Libraries

Minor Libraries

Icons

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].