Lesen Sie dies auf Deutsch (German)
BatterySentinel is an intentionally highly compact and lightweight Android application designed with a single, clear objective: monitoring your device's battery in the background and alerting you when specific, customized battery thresholds are reached, all while consuming the absolute minimum amount of energy.
Download the latest BatterySentinel_app-release.apk
Since this app is not distributed via the Google Play Store, you will need to "sideload" the APK file onto your Android device.
- Download the
BatterySentinel_app-release.apkfile from the link above directly to your Android device (e.g., using your mobile browser). - Tap on the downloaded file to open it.
- Your device will likely show a security warning: "For your security, your phone is not allowed to install unknown apps from this source."
- Tap Settings on that prompt, and toggle on "Allow from this source".
- Press the back button and tap Install.
- The app is now installed! Upon your first launch, the app will request two permissions: First, to send notifications, and second, to be exempt from Android's strict battery optimizations. Please grant both. The battery exemption ensures the system does not force the underlying monitor into deep sleep ("Doze Mode").
Modern operating systems often kill background services to save battery life. BatterySentinel works natively with Android's system broadcasts and a lightweight WorkManager safety-net, entirely avoiding the need for permanent background services. This means you get reliable battery alerts when your phone hits 80%, 40%, 20%, etc., without the app itself draining your battery to provide those alerts.
- Zero-Drain Architecture: Utilizes system's native
ACTION_BATTERY_CHANGEDbroadcasting instead of constantly polling the battery sensor. - Custom Alarms: Set up any number of custom battery percentage alerts.
- Boot Persistence: Automatically survives device reboots.
- Modern UI: Built fully in Kotlin with Jetpack Compose.
- DataStore: Employs modern AndroidX DataStore for asynchronous, safe settings persistence.
- Clone this repository.
- Open the project in Android Studio.
- Build the project or directly generate a Signed APK from
Build > Generate Signed Bundle / APK...
This project is licensed under the MIT License.
