# linux-battery **Repository Path**: mirrors_kevva/linux-battery ## Basic Information - **Project Name**: linux-battery - **Description**: Get info about your battery in Linux - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # linux-battery > Get info about your battery in Linux ## Install ``` $ npm install --save linux-battery ``` ## Usage ```js const linuxBattery = require('linux-battery'); linuxBattery().then(battery => { console.log(battery); /* [{ nativePath: 'BAT0', vendor: 'innotek', model: '1', serial: '0', powerSupply: 'yes', ... }] */ }); ``` ## Related * [battery-level](https://github.com/gillstrom/battery-level) - Get current battery level ## License MIT © [Kevin Martensson](https://github.com/kevva)