mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
PodDevice.batteryCase merges an AAP notification, the encrypted advertisement payload, the public advertisement nibble and the cache into one Float, and the provenance is gone by the time anyone reads it. The public nibble only carries deciles, so 20% there can mean anything up to 29%. batteryCaseReading walks the same precedence and keeps the step size of the source that won, leaving batteryCase untouched for every existing caller.