Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walkersumida/battery-alarm
Checks and notifies the battery level of devices connected via Bluetooth on Mac.
https://github.com/walkersumida/battery-alarm
battery battery-monitor bluetooth go macos
Last synced: 17 days ago
JSON representation
Checks and notifies the battery level of devices connected via Bluetooth on Mac.
- Host: GitHub
- URL: https://github.com/walkersumida/battery-alarm
- Owner: walkersumida
- License: mit
- Created: 2024-06-22T13:15:19.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T13:12:44.000Z (3 months ago)
- Last Synced: 2024-10-23T02:12:53.927Z (2 months ago)
- Topics: battery, battery-monitor, bluetooth, go, macos
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
## Battery Alarm
This is a simple script that will check the battery level of devices connected via Bluetooth on Mac and notify if it is below a certain threshold.
![preview](./preview.png)
## Usage
#### Clone this repository
```sh
git clone [email protected]:walkersumida/battery-alarm.git
```#### Adjust the threshold
Please adjust the number being passed to the `-t` (threshold) flag defined in the plist file.
#### Install
```sh
make install
```#### Update
```sh
make update
```#### Uninstall
```sh
make uninstall
```