jaffreyjoy / batinfo

πŸ”‹β„ΉοΈ A simple utility that displays minimal battery information.

Home Page:https://www.npmjs.com/package/batinfo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

batinfo

A simple utility that displays minimal battery information.

This utility was built to counter the battery indicator missing issue in Windows 10 for me. Apparently, this could also be used to view the battery's charging information while using a command-line OS like ubuntu-server, etc.

Installation (Windows)

 > npm i -g batinfo
OR

Installation (UNIX based OS)

 $ sudo npm i -g batinfo

Usage (after completing above step)

H:\__tryouts\batinfo>batinfo

πŸ”‹  Charge Remaining: 88%

πŸ”Œ  Charging: YES ⚑

⏲️  Time remaining: Not available

The "Time remaining" functionality is only available on UNIX based OS, while the battery is discharging. The above command was run on a Windows machine, hence the "Time remaining" functionality displays as "Not Available".

Run (from source)

 $ git clone https://www.github.com/jaffreyjoy/batinfo
 $ cd batinfo 
 $ npm i
 $ node index.js

Credits

systeminformation πŸ™Œ

License

MIT

About

πŸ”‹β„ΉοΈ A simple utility that displays minimal battery information.

https://www.npmjs.com/package/batinfo

License:MIT License


Languages

Language:JavaScript 100.0%