r/node • u/Drazxie • Jun 16 '20
I built an open source windows based tool to monitor and analyze your system's power and battery usage over time showcasing various insights like battery capacity, estimated life, cycle, recent usages, etc with various options to export all of the data in structured format (JSON, PDF)
17
u/mogmogmog13 Jun 16 '20
Wow, that is such a striking design! I'm not sure if I love it or hate it yer but it's so cool to see something a bit different. Thanks for making it open source, it looks like you've done an awesome job from the preview so I'm keen to see behind the curtain!
2
u/Drazxie Jun 16 '20
Thanks, do give it a try and share the feedback. :)
0
u/coomzee Jun 16 '20
I like it but, it needs to show that is your data and not an static info graphic.
1
u/Drazxie Jun 16 '20
Um pardon, can you explain a little more on what you mean there?
0
u/coomzee Jun 16 '20
When I first look at the graph. I think infographic with static information, like the page has been made before with per generated data . If the graph was animated it looks more like the data on it is from my device. I really like the graphics.
1
u/Drazxie Jun 17 '20
Ah.. good suggestion - I might look into it but I don't want to apply animation unless absolutely necessary.
2
u/srvkkar Jun 16 '20
Looks cool! What framework did you use for the comic sans-like css?
10
u/Drazxie Jun 16 '20
Its PaperCSS.
You can find all about the tooling used here: https://github.com/slapbot/powir#acknowledgement
:)
1
u/Programmerraj Jun 16 '20
After going on the paper css website, I feel like using it for my projects too! Are there any additional things that paper res has besides the overall style of it? I saw progress bars and alerts on their github, but I'm wondering if there are more cool little features that you like about paperccs.
1
u/Drazxie Jun 16 '20
Yes! I love the buttons, popover and borders that they provide. Although the ones used in Powir are slightly modified versions of the ones provided by papercss.
Nonetheless, its a great library and I took an inspiration from the project. The most beautiful thing about open source. :)
2
u/Programmerraj Jun 16 '20
Nice. I'm planning on making an open source animating project with html (which I want to implement papercss) on the front end and node as the server. Your project inspires me to use papercss, and I like open source too.
1
1
u/Cr_hunteR Jun 17 '20
I have been searching this kinda thing for years.. are there more like this?? If you know any, please let me know..
2
1
u/JaniRockz Jun 16 '20
How do you read the hardware data?
3
u/Drazxie Jun 16 '20
Hey! It utilizes the windows command called,
powercfgto build the app following:
Cleaning the outliers/wrong data.
Showing trends in a visual context graphs as compared to tabular numbers.
Computes the estimated battery life's trend throughout the time, current estimated life, 7 week recent life all again via graphs (recent life not possible with command)
Shows recent power & battery usages telling how system is being utilized.
Ability to export all of the data in JSON format for you to do anything on top of.
Finally, a pleasant looking UI instead of outdated webpage with non-interactive settings and without even opening any kind of command prompt.
1
u/mattiebelt Jun 16 '20
Looks great! How or with which lib did you extract the data from windows? Any possibility to make it compatible with Linux distros?
2
u/Drazxie Jun 16 '20
It uses windows based command called powercfg not sure if Linux have any similar mechanisms
I'm open to PRs or ideas though.
2
u/xdfreddie Jun 16 '20
found this which might work on linux https://vitux.com/view-detailed-laptop-battery-report-on-ubuntu/
2
1
u/Neaoxas Jun 16 '20
This looks like the balsamiq wireframe of an app.
2
u/Drazxie Jun 17 '20
Haha, never heard of them before but yeah the company focuses on similar designing!
1
1
u/SilentMobius Jun 16 '20
I've been looking for a front-end and rationalize for powercfg's data for ages...
But...
Man that is a... nonstandard theme. You're presenting hard electrochemicaly-derived data here not a list of children's birthdays or tips on cooking. Obviously it's your choice but, it's polarising in a way that isn't needed for such a fundamentally systemic use. It's as if the windows display setting panel suddenly used comic sans and neon pink for highlights.
1
u/Drazxie Jun 17 '20
Oh no I totally get it - I am looking to add an opt-in feature that will allow you to choose between: experimental vs classic theme option.
1
1
u/gbland777 Jun 17 '20
This is really awesome and the design is so fresh and lively! A lot of data heavy applications are so bleh to look at. Great work!
1
u/Drazxie Jun 17 '20
Yep exactly! But apparently lots of people aren't a big fan of the chosen font and designing.
1
u/gbland777 Jun 18 '20
Don’t let them discourage you. This is memorable and has character. As long as it doesn’t take away from actual use and data digestion, keep blazing your trail! 👏🏼
1
u/Funminotaur3880 Jun 17 '20
How did you create the ui?
2
u/Drazxie Jun 17 '20
You can check the tools used here: https://github.com/slapbot/powir#acknowledgement
1
u/hexadcml Jun 17 '20
This is one of the best, most unique and original design I have ever seen. Good job.
1
u/Drazxie Jun 17 '20
Thanks so much! I am actually a back-end guy who wanted to learning some UI/UX - so took this as a side project, glad you enjoyed it. :)
1
1
u/niet3sche77 Jun 16 '20
Oh honey, no. That font... :(
1
u/Drazxie Jun 17 '20
:(
Don't worry - I am planning to add font-switcher feature in the next release!
1
u/lifenautjoe Jun 16 '20
Whats with the cartoonish design tho. Is it customizable ?
Nonetheless, awesome stuff.
1
u/Drazxie Jun 16 '20
Ah not yet, but I'm looking to make that as opt-in in the next release.
0
Jun 16 '20
The font is hideous. Please use a Sans Serif like Roboto or Source Sans Pro (both on Google Fonts).
The rest of the design is beautiful, the font just ruins it for me.
1
1
1
u/SnooFoxes4444 Sep 23 '24
Is it able to monitor multiple battery's? I have swappable secondary batteries. It would be great to have the information that this app provides for them also.
1
u/zzzxxx0110 Nov 26 '23
Very interesting and keep up the good work! :D
Since it's built with Electron, how's the power consumption like keeping it running in the background?
0
Jun 17 '20
[deleted]
2
u/Drazxie Jun 17 '20
Thanks!
Nope - totally portable, you just run it and close it whenever you want and all of the process will be gone. Windows itself records your power and battery usage which is retrieved by API they disclose, Powir simply consumes that command.
Hence, nope it doesn't draws any power more than necessary to run any tool.
6
17
u/Drazxie Jun 16 '20 edited Jun 16 '20
Hey everyone! For anyone wondering what is this tool and why we need it.. I'd like to wind back couple of weeks ago when I was looking for battery monitoring/analyzing tool and was shocked to find that there existed no such tool on the market, so I decided to build one for myself!
Its powered by Node and Electron with Reactjs acting as front-end library.
Powir is a tool designed to help people evaluate their power and battery condition of their windows based systems. It achieves the goal by showcasing various metrics collected from the system and doing statistics to formulate an overall benchmark of your system.
Some of its features include:
100% portable app with no installations required: download and run!
Provides you with a simple and clean UI to list your battery and system information.
Shows you the trend in battery capacity as well estimate life since the OS was installed.
Ability to export all the data via various formats: PDF (app), JSON (processed), HTML (original report)
App is completely open source and available on Github at: https://github.com/SlapBot/powir/
Website: https://powir.slapbot.me/
Cheers :)