kiev: Fingerprint library issue causing execessive log spam and degrading battery life
Fingerprint library issue in Latest Changes
Summary
After updating to the latest LineageOS 22.1, the fingerprint hardware service no longer starts. Since the system repeatedly tries—and fails—to launch the fingerprint service, the logs get spammed with stack traces. This, in turn, causes extra CPU usage and can adversely affect battery life.
Steps to Reproduce
- Flash the latest version of LineageOS to device kiev.
- Boot the device.
- Monitor the device logs (via
adb logcat).
Observed Behavior
The following repeated messages indicate the fingerprint service fails to launch:
W libc : Unable to set property "ctl.interface_start" to "android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default": PROP_ERROR_HANDLE_CONTROL_MESSAGE (0x20)
I hwservicemanager: Tried to start android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default as a lazy service, but was unable to...
W HidlToAidlSensorAdapter: Fingerprint HAL not available
Because the hardware service manager keeps attempting to start this missing service, it spams the log service with stack traces. Repeated logging can increase CPU usage and negatively impact battery life.
Please let me know if there’s any further detail or testing needed. Thank you!
/codename kiev
/version lineage-22.1
/date 2025-01-24
/kernel 4.19.157-perf+
/baseband M7225_HI251_22.578.01.41R
/mods none
I have read the directions.
Edited by Jason