Send your battery info to popular services using webhooks!
Install and run, then configure in the Settings page:
Once that's done, you can manually send the battery info to your configured webhook:
- UI (SwiftUI ig)
- Device info functions
- Work around iOS 16+ not giving the user-set device name by letting the user set a device name in Battery Webhook
- Date saving, formatting, comparison, etc
- Building Discord embed with JSON
- HTTP interaction with Discord webhook
- Manual sending of battery info
- Allow user to change embed color (right now is #e872e2 for >20% and #ff0000 for ≤20% battery)
- Preview how the embed will show (lots of work and im lazy)
- Support services other than Discord (config infra is there but need to create constructors for whatever format other services expect)
- Automated sending of battery info (Siri Shortcuts support for use with power automations? Making the app always run in the background to detect power events?)
- probably more stuff idk
iOS/tvOS/macCatalyst 15.0 or later
(macCatalyst 15.0 = macOS Monterey 12.0)
Open in Xcode, change PROJECT_IDENTIFIER at the bottom of project build settings, set codesign identity, then build.
Documentation is provided as DocC for most functions, or code comments