kevva / Linux Battery
Licence: mit
Get info about your battery in Linux
Stars: ✭ 12
Programming Languages
javascript
184084 projects - #8 most used programming language
linux-battery
Get info about your battery in Linux
Install
$ npm install --save linux-battery
Usage
const linuxBattery = require('linux-battery');
linuxBattery().then(battery => {
console.log(battery);
/*
[{
nativePath: 'BAT0',
vendor: 'innotek',
model: '1',
serial: '0',
powerSupply: 'yes',
...
}]
*/
});
Related
- battery-level - Get current battery level
License
MIT © Kevin Martensson
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].