platform_system_core/healthd
Abhijeet Dharmapurikar 80802ade08 healthd: Reinitialize mChargerNames for every battery update
Booting up the device without usb, the kernel sets the usb power supply
type as UNKNOWN. The type of usb power supply changes at run-time as
various chargers are plugged in/out. However, healthd initilizes the
charger list only at bootup. Change it such that it checks for charger
type changes with every battery or usb uevent.

While at it, the kernel may have a power supply type which is not known
to healthd. This is perfectly fine. Update healthd to not print a
warning.

Change-Id: I2ec9f9a420ca61814d43c316b418ce94de3691bc
2024-09-08 00:05:09 +02:00
..
api Update sysprop_library API txt 2020-10-15 04:04:15 +00:00
images remove pixelflinger from healthd 2014-03-11 12:25:41 -07:00
include/healthd healthd: Add support for the new Health HAL v3 properties. 2023-12-11 11:59:23 -08:00
include_charger/charger charger: fix secondary display not turning off after first display was off 2022-09-20 02:53:16 +00:00
testdata [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
Android.bp Merge "healthd: Delete health@2.0-service." into main 2024-01-09 00:28:28 +00:00
animation.h charger: Load default resources from /system 2020-08-07 17:07:09 -07:00
AnimationParser.cpp Fix AnimationParser remove_prefix test 2020-08-05 20:00:09 -07:00
AnimationParser.h Fix AnimationParser remove_prefix test 2020-08-05 20:00:09 -07:00
AnimationParser_test.cpp Convert healthd_test to Soong 2020-08-05 20:00:09 -07:00
BatteryMonitor.cpp healthd: Reinitialize mChargerNames for every battery update 2024-09-08 00:05:09 +02:00
BatteryMonitor_v1.cpp Don't depend on String8 cast to C string 2023-09-20 15:11:54 +00:00
charger.cpp charger: separate UI and HAL access. 2021-11-01 12:38:56 -07:00
charger.sysprop healthd: charger use runtime sysprops instead. 2019-07-24 17:01:40 -07:00
charger_test.cpp charger: separate UI and HAL access. 2021-11-01 12:38:56 -07:00
charger_utils.cpp charger: uses health HAL service. 2020-01-31 13:29:21 -08:00
charger_utils.h charger: uses health HAL service. 2020-01-31 13:29:21 -08:00
healthd_draw.cpp charger: fix secondary display not turning off after first display was off 2022-09-20 02:53:16 +00:00
healthd_draw.h charger: fix secondary display not turning off after first display was off 2022-09-20 02:53:16 +00:00
healthd_mode_charger.cpp Add ability to automatically bootup 2023-03-24 17:22:17 +00:00
healthd_mode_charger_hidl.cpp charger: Add API to replace ro.charger.enable_suspend 2021-11-01 12:38:56 -07:00
healthd_mode_charger_hidl.h charger: Add API to replace ro.charger.enable_suspend 2021-11-01 12:38:56 -07:00
healthd_mode_charger_nops.cpp charger: uses health HAL service. 2020-01-31 13:29:21 -08:00
healthd_mode_charger_nops.h healthd: Add charger.recovery module. 2019-03-06 14:41:47 -08:00
healthd_mode_charger_test.cpp charger: separate UI and HAL access. 2021-11-01 12:38:56 -07:00
OWNERS healthd: remove hridya@ from OWNERS file 2022-01-06 16:56:57 -08:00
TEST_MAPPING Add healthd to hwasan-postsubmit 2022-03-18 21:19:00 +00:00