App 2.19.7: meter AC charging too, while the app runs
A session runs whenever power flows into the pack, AC or DC; gaps the head unit slept through are dropped as before. Dashboard and server texts no longer say DC only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LhzAVaUyqcw5PkGjz4mWW6
This commit is contained in:
@@ -118,6 +118,14 @@ tyre pressures, GPS (lat, lon, elevation, heading) and the is_* flags. It does *
|
||||
confirmed car facts, app structure, UI conventions, build/test/ship, documents. It replaces
|
||||
upstream's EVABRPUploader text. The test emulator is now in the flake: `nix run .#car-emulator`
|
||||
(Android 9 AOSP at 1920×720, 160 dpi; the car build installs as the system user — checked).
|
||||
- 2026-10-23 — App 2.19.7: AC charging is metered too, while the app runs (owner's choice; Fatih
|
||||
had metered DC only, `e9bfa12`, because an overnight AC charge is slept through). A session runs
|
||||
whenever power flows into the pack (`ChargingState.isMeteredCharging`: inbound > 0.3 kW and a
|
||||
charge by `isCharging`), and its curve takes every inbound sample. Gaps where the head unit
|
||||
slept are dropped, not billed, so an overnight AC session shows the awake part only. The label
|
||||
says "AC charging" / "DC fast charging"; `isDcCharging` stays for it and ABRP's `is_dcfc`. Server
|
||||
comment, server README and the Grafana charging dashboard's texts no longer say DC only (the
|
||||
dashboard ConfigMap changes with them: re-apply `k8s/`). Unit tests; not tried on the car.
|
||||
- 2026-10-23 — App 2.19.6: the CarPlay full-screen switch and the "Export CarPlay data" button are
|
||||
removed (CarPlay's size is fixed, see below). On start, the car build takes the CarPlay entry out
|
||||
of `policy_control` if the switch was left on, and leaves anything else there alone — checked on
|
||||
|
||||
Reference in New Issue
Block a user