This update improves RAM, ROM and performance level detection so the dashboard can show clearer device capability, storage pressure and recommended tuning profiles.
| Area | Status |
|---|---|
| APK version | 1.1.0 |
| Version code | 11 |
| Package | dev.sayanthrock.batteryrock |
| Minimum Android | Android 12 / API 31 |
| Target SDK | Android 15 / API 35 |
| Kotlin | 2.0.21 |
| AGP | 8.7.3 |
| Java toolchain | 17 |
| UI style | Premium dark glass dashboard |
| Automatic release workflow | Enabled |
| Manual APK artifact workflow | Available |
1.1.0 / versionCode 11.| Feature | Description |
|---|---|
| Battery dashboard | Shows battery percentage, charging state, health, temperature, voltage and power source. |
| Capacity estimate | Shows estimated battery capacity when Android exposes enough data. |
| RAM pressure | Shows available RAM, total RAM and estimated RAM load. |
| ROM storage | Shows internal storage free space, total size and used percentage. |
| Performance level | Calculates a stronger phone performance level from CPU, Android API, RAM, ROM and memory class. |
| Recommended profile | Suggests Safe, Balanced, Smooth or Performance profile based on live device status. |
| Safe fallbacks | Shows Unknown instead of closing when a device hides battery, RAM, ROM or performance details. |
| Premium dark UI | Gradient background, glass cards, compact quick stats and clear sections. |
| Release automation | Builds APKs and publishes GitHub Releases automatically. |
Open the releases page and download the latest APK:
https://github.com/SayanthRock/Battery-Rock/releases
Recommended APK file name:
Battery-Rock-v1.1.0.apk
Workflow file:
.github/workflows/auto-release-apk.yml
This workflow builds the release APK and publishes a GitHub Release automatically.
It runs when:
mainv1.1.0 is pushedFor normal pushes to main, the workflow creates a build tag like:
v1.1.0-build.123
The release contains:
SHA256SUMS.txtAPK_INFO.txtWorkflow file:
.github/workflows/manual-release-apk.yml
This workflow builds the APK and uploads it as a GitHub Actions artifact without publishing a release.
Requirements:
| Tool | Version |
|---|---|
| JDK | 17 |
| Android SDK | 35 |
| Gradle | 8.9 |
| Kotlin | 2.0.21 |
Build release APK:
gradle :app:assembleRelease
Release APK output:
app/build/outputs/apk/release/
Battery-Rock/
├── build.gradle.kts
├── settings.gradle.kts
├── gradle.properties
├── gradle/libs.versions.toml
├── app/
│ ├── build.gradle.kts
│ ├── proguard-rules.pro
│ └── src/main/
│ ├── AndroidManifest.xml
│ ├── assets/xposed_init
│ ├── java/dev/sayanthrock/batteryrock/
│ │ ├── BatteryRockInit.kt
│ │ ├── BatteryRockStatus.kt
│ │ ├── DeviceStatusReader.kt
│ │ ├── MainActivity.kt
│ │ ├── hooks/
│ │ │ ├── AutoHookControllerEngine.kt
│ │ │ ├── FrameworkHook.kt
│ │ │ ├── RomAdaptiveEngine.kt
│ │ │ ├── TelemetryKiller.kt
│ │ │ └── WakelockGuard.kt
│ │ └── ui/theme/Theme.kt
│ └── res/xml/scope.xml
├── .github/workflows/auto-release-apk.yml
├── .github/workflows/manual-release-apk.yml
├── BUILD_RELEASE_REQUEST.md
├── CHANGELOG.md
└── README.md
| File | Purpose |
|---|---|
MainActivity.kt |
Premium Compose dashboard UI for battery, RAM, ROM and performance status. |
BatteryRockStatus.kt |
Safe status bridge for normal app startup. |
BatteryRockInit.kt |
Runtime entrypoint used by supported environments. |
DeviceStatusReader.kt |
Reads battery, RAM, ROM and performance data with safe fallbacks. |
ui/theme/Theme.kt |
Material color scheme and system bar styling. |
auto-release-apk.yml |
Automatic build and GitHub Release workflow. |
manual-release-apk.yml |
Manual APK artifact workflow. |
Install v1.0.8 or newer. v1.1.0 keeps that startup fix and adds RAM/ROM performance diagnostics.
Some ROM builds hide memory, storage or system-property values. Battery-Rock will keep the dashboard open and show fallback values instead of crashing.
Open the failed workflow step and check the first real Gradle or Kotlin error above the final exit code 1 line. The last line is usually just the funeral notice, not the cause.
The dashboard can still open normally while inactive. Install the latest release build first.
Battery-Rock is for testing on devices you own and control. Device behavior depends on ROM version, installed packages and system settings. Test carefully before using it daily.