Files
oxmc ef97e32193 health: report no battery instead of a fake full Li-ion one
The RPi has no battery -- it's USB-C/wall powered only. The upstream
KonstaKANG device tree this was forked from pretended to be a fully-
charged Li-ion battery (batteryPresent=true, batteryStatus=FULL, 100%)
instead, the same fake-battery pattern AOSP's own cuttlefish reference
health HAL explicitly warns against in its own comments: "a battery-less
device should report batteryPresent = false and batteryStatus = UNKNOWN"
(device/google/cuttlefish/guest/hals/health/health-aidl.cpp).

Report the real hardware truth instead. Charger online state stays true
(the device is genuinely USB/AC powered); the individual AIDL getters for
capacity/charge-counter/current/health-data now return
EX_UNSUPPORTED_OPERATION since none of that data exists for a battery
that isn't there, matching the existing pattern already used for
getCurrentAverageMicroamps in this same file.
2026-10-06 03:12:55 -07:00
..
2026-03-04 22:17:40 -08:00
2025-03-19 12:22:15 +02:00
2026-03-04 22:17:40 -08:00
2025-02-20 15:14:31 +02:00
2023-07-29 13:41:37 +03:00