sm7250-common: Add QTI health implementation

Add QTI health implementation so that it waits for battery power
supply for a max timeout of 5 seconds. This is to ensure by the
time health HAL service starts, battery power supply device is
available. Without this, health HAL couldn't find battery power
supply sometimes because of the time taken for battery charger
driver to probe on platforms where it can happen only after the
remote subsytem is bought out of reset.
This commit is contained in:
Subbaraman Narayanamurthy 2022-02-24 18:40:23 +03:00 committed by mikairyuu
parent 43106bb971
commit ccaf40fbc3

View File

@ -225,7 +225,7 @@ PRODUCT_PACKAGES += \
# Health
PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl \
android.hardware.health@2.1-impl-qti \
android.hardware.health@2.1-service
# HIDL