Battery health written right into your root manager's module description — flash and go, zero configuration
English | 简体中文(中文说明)
Features | Screenshots | Installation | How it works | FAQ | Build from source | Acknowledgements
The four WebUI pages (Overview / Health / History / Settings) at a glance. The battery data in the screenshots is fabricated demo data, used only to illustrate the UI — it does not represent any real device or any measured result.
- Module description shows kernel and measured health, capacity, cycles and temperature, with shorter labels on narrow screens.
- Overview shows live charge, progress and time to full, plus the device model and any battery technology or model reported by the device. The health card gives status, accepted samples and update age.
- Health shows a recent capacity trend, a permanent daily archive, four capacity checks, the evidence behind the latest estimate, and observations such as ICA and CCCT.
- History filters charge and discharge by 7/30/90 days, reveals rejected estimates on demand, and previews or opens five synchronized session curves. Full curves include screen state when available.
- Interface offers Miuix and Material 3 navigation, swipe paging, a collapsing header, light/dark/AMOLED themes, host colors, preset and custom accents, a system font option, and English/Chinese.
- Fully offline, with zero telemetry and on-device records and learning data.
Download a ZIP from Releases, flash it with Magisk v20.4+, KernelSU or APatch, and reboot (arm64 only). KernelSU, APatch and MMRL can open the WebUI.
| Asset | Updates |
|---|---|
CRecordEvolution-*.zip |
Stable, with in-app updates |
CRecordEvolution_ML-*.zip |
Experimental, manual flash, -ML version suffix |
- For downgrades or channel switches, press Volume Up to continue or Volume Down to cancel. Confirmation expires after 30 seconds.
- Normal upgrades verify and preserve the database. Back up before an in-place recovery install. Uninstall the old
Charging_Recordmodule before switching. - Verify the downloaded ZIP against
SHA256SUMS.txton the release page.
The app estimates full-charge capacity from charge sessions and checks it against the kernel, mid-charge calibration and discharge differences. A large disagreement is flagged as uncertain.
Health is estimated full-charge capacity divided by design capacity on the same measurement basis. Use batteryd design set <mAh> to override automatic detection or batteryd design clear to restore it. Run batteryd once or reboot to refresh.
- Why can health exceed 100%? Actual full-charge capacity can exceed the rated design capacity.
- How soon will I see an estimate? Usually after a few days of valid sessions. The ML build starts to diverge after 30 valid sessions.
- What if I replace the battery? Run
batteryd battery new --yesto start a new learning profile. Earlier history remains available. - Why are there gaps in session curves? Missing readings and long sampling interruptions leave gaps. A confirmed zero current still appears as 0 A and, when voltage is available, 0 W. Earlier records stored some missing current readings as zero, so an older zero without confirmation is treated as missing.
pnpm install --frozen-lockfile
pnpm run verify # build + offline scan + 64 KiB gzip ceiling
go test ./... -count=1
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -trimpath -ldflags "-s -w" -o bin/batteryd ./cmd/batterydSee AGENTS.md for development, command and release details.
Papers consulted during design (PDF library in docs/):
- Severson et al., Nature Energy (2019), predicting cycle life from early-cycle data. PDF · Publication
- He & Shin, ACM e-Energy (2023), voltage-relaxation fingerprinting. PDF · Publication
- Lin et al., Energy (2022), constant-current charging time (CCCT). SSRN preprint PDF · Published article · SSRN 4018988
- Fly & Chen, Journal of Energy Storage (2020), the effect of charge and discharge rates on ICA. PDF · Publication
- Beatty, Strickland & Ferreira, Energies (2024), review of ICA/DVA curve generation methods. PDF · Publication
- Kenney et al. (2024), capacity fade prediction and uncertainty in probabilistic models. PDF · arXiv v1
- Zhang, Fu & Pei, ICCK Transactions on Electric and Hybrid Vehicles (2025), background on errors in coulomb-counting SOC estimation. PDF · Publication
- He & Shin (2017), an early preprint of the same V-Health research. PDF · arXiv v1
The ± shown by the ML build is an RLS relative-uncertainty indicator, not a strict statistical confidence interval.
Issues and pull requests are welcome. Read CONTRIBUTING.md for the local build/test commands and commit style, report vulnerabilities privately as described in SECURITY.md, and follow the CODE_OF_CONDUCT.md.
When reporting a battery or estimate issue, attach the redacted batteryd diag output (Settings → Copy diagnostics) instead of screenshots only.
- Design concept: 不会梦游的鱼
- Install script: 酷安@阿巴酱
Health, capacity and cycle figures are estimates. Check your manager’s backup and rollback procedure before flashing. For swelling or abnormal heat, seek manufacturer diagnostics.
This project is licensed under GPL-2.0.
Made with ❤ by f1owkang






