https://github.com/dreamorosi/battery-percentage-cli
Get current MacOS battery level
https://github.com/dreamorosi/battery-percentage-cli
battery-level battery-percentage javascript macos nodejs npm
Last synced: 3 months ago
JSON representation
Get current MacOS battery level
- Host: GitHub
- URL: https://github.com/dreamorosi/battery-percentage-cli
- Owner: dreamorosi
- License: mit
- Created: 2017-01-25T04:28:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T02:36:13.000Z (about 8 years ago)
- Last Synced: 2025-02-18T08:39:37.649Z (4 months ago)
- Topics: battery-level, battery-percentage, javascript, macos, nodejs, npm
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# battery-percentage-cli
> Get current MacOS battery level
Works on macOS only.
## Install
```
$ npm install --global battery-percentage-cli
```## Usage
```
$ battery-percentage --helpGet current MacOS battery level
Usage
$ battery-percentageOptions
-v, --verbose Get all infoExample
$ battery-percentage
36%
```## Related
- [battery-percentage](https://github.com/dreamorosi/battery-percentage) - API for this module
- [battery-level](https://github.com/gillstrom/battery-level) - Get current battery level## License
MIT © [Andrea Amorosi](https://dreamorosi.com)