Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 613 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 613 Bytes

Battery Percentage Notifier

visitors

A notifier for battery percentage of your mouse and keyboard.

Why

Mac OS's Built-in notifer fired when the percentage is equal to 2%.

It's not make sense!

Usage

  1. Clone this repository.
  2. Open your terminal and run cd /path/to/this/repository
  3. run yarn install
  4. run node index.js

CLI options

  1. -l, --less-than percentage (default: 20)- trigger notification if any percentage is less than it.
  2. -d, --detect-interval second (default: 20)- detect interval