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.

Change-Id: I96ee53ef15dd61c98d317e9ec221456ca564249f
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
Subbaraman Narayanamurthy 2020-08-27 17:24:04 -07:00 committed by Giammarco Senatore
parent 2e1d57ab1c
commit 2cf97f4493
No known key found for this signature in database
GPG key ID: 661348FC1E144F04

View file

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