Skip to content

Releases: The412Banner/BatteryLog

v1.6.0

Choose a tag to compare

@The412Banner The412Banner released this 23 Jun 13:45

BatteryLog v1.6.0

New: History graph time-range views

The History graph can now show battery data aggregated across all your recorded runs, not just one run at a time.

  • Range chips above the graph: 24h · 7d · 14d · 1 mo · 3 mo (defaults to 24h).
  • Aggregate summary for the selected window: number of runs, net level change, total discharged / charged %, average drain (%/hr), minimum voltage (and the % it occurred at), and temperature range.
  • The line breaks across gaps when the device wasn't logging, so a multi-day view never draws a misleading straight bridge over off periods. X-axis labels switch to dates once the window spans more than ~36h.
  • Tapping an individual run in the list below still shows the per-run view exactly as before.

Note: the longer ranges only fill in as logs accumulate since install — 7d/14d/etc. become more useful the longer the app has been recording.

Install

Signed with the AOSP testkey (v1+v2+v3), so this installs over v1.5.0 without uninstalling. Logs are preserved (stored in public /sdcard/BatteryLog/logs).


APK: BatteryLog-v1.6.0.apk
sha256: 27f427333729b959d6bab48d8cb0542ed7d351dcfbda4f953f8b1f0443da48cc

v1.5.0

Choose a tag to compare

@The412Banner The412Banner released this 15 Jun 16:31

BatteryLog v1.5.0

Logs now survive uninstall / reinstall

  • Logs and reports are written to /sdcard/BatteryLog/logs — a package-independent folder the OS does not delete when the app is uninstalled (the old Android/data/... location was wiped on every uninstall).
  • Grant All-files access when prompted (tap the storage row on the main screen). Until granted, logging still works in the old app-private dir as a fallback.
  • The Magisk boot sampler (root) always writes to the safe folder regardless of the app's permission. Boot module bumped to 1.2.0Remove + reinstall it after updating so it targets the new path.
  • On launch, any existing app-private logs are copied into the safe folder automatically (one-time, idempotent). Both locations are scanned, so nothing disappears during the transition.

Live graph on the main screen

  • A small live chart (battery % · voltage · temperature) of the active/most-recent log now sits under the battery card and refreshes as the run grows. Tap it for the full History view.

Signing

  • Signed with the well-known AOSP testkey (CN=Android) using the full v1 + v2 + v3 scheme set (verified in CI).

⚠️ One-time uninstall

The signing key changed from the previous debug key, so this build won't install over the old one — uninstall first, then install v1.5.0. Because logs now live outside the app dir (and the boot module persists in /data/adb), this is the last disruptive uninstall; everything is preserved afterward.

APK sha256: 1ee235903fa8c3d340c7735cd4e855239162163cacfc061fe3c0e5674d670241

v1.4.0

Choose a tag to compare

@The412Banner The412Banner released this 15 Jun 16:06

BatteryLog v1.4.0

New

  • Temperature trace on the History graph — the chart now draws a third auto-scaled line (red) for battery temperature alongside charge % (blue) and voltage (orange). Right-axis min/max temp labels plus a new top-left legend showing each series' range.

Fixed / hardened

  • Boot-sampler epoch — guarded the shell sampler's epoch_ms against an empty date result and bumped the bundled Magisk boot module to 1.1.0. The previous negative-epoch values came from a stale module written by an older build; remove and reinstall the boot module from the app (then reboot) to pick up the corrected sampler. Reports were never affected (they run on row-to-row deltas; iso_time was always correct).

Notes

  • Debug-signed with the stable committed keystore, so this installs over v1.2.0+ in place and preserves your logs.

APK sha256: 5c13c921b9ea275acd6aac7aca64fa9ec794e49a88b2b9a35876eb2f537d1f2b

BatteryLog v1.3.0

Choose a tag to compare

@The412Banner The412Banner released this 15 Jun 15:37

Background battery-discharge monitor + diagnostics for the AYANEO Pocket FIT random-shutoff investigation.

New in v1.3.0

  • Estimates card — live time-remaining at current %, full-charge runtime (100→0), and time-to-100% while charging. Blends the fuel gauge's own instant estimate with learned %/hr averages from your recorded runs (improves after a few cycles).
  • Charge control (root) — charge-speed throttle (charge_control_limit) and a stop-charging-at-% limit (100/90/80). Writes are read back to confirm; enforcement depends on charger firmware.

Since v1.1.0

  • Auto mode — arm once; auto-records a clean discharge-only log on unplug and finalises it on plug-in (robust on Android 14).
  • Lifetime / Battery Health card in History — cycle count since manufacture, SoH, capacity lost, voltages.
  • Live boot-module indicator — 🟢 running / 🔴 not running / 🟡 disabled / ⚪ not installed.
  • Stable debug signing key — updates now install over the top and preserve your logs.
  • Fixed the boot-sampler epoch_ms overflow.

Install

Sideload BatteryLog-v1.3.0.apk. First install over an older build needs a one-time uninstall (signing key changed in v1.2.0); after that, updates install in place.

Debug-signed. SHA-256 in BatteryLog-v1.3.0.apk.sha256.