android_system_core/healthd
Abhijeet Dharmapurikar 7cd8f3162a 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

Former-commit-id: 08a453898adf2f5bfb594396d6d915d68ebb67b8
Change-Id: I7d5675b4e9a8a23228b0255071dd6965cdd43d6d
2023-10-19 12:54:36 +00:00
..
api
images
include/healthd BatteryMonitor: support battery health INCONSISTENT from health status 2023-05-29 18:30:58 +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
Android.bp BatteryMonitor: fix build error with health hal v2 updraged 2023-01-21 15:28:23 +08:00
AnimationParser.cpp
AnimationParser.h
AnimationParser_test.cpp
BatteryMonitor.cpp healthd: Reinitialize mChargerNames for every battery update 2023-10-19 12:54:36 +00:00
BatteryMonitor_v1.cpp BatteryMonitor: fix build error with health hal v2 updraged 2023-01-21 15:28:23 +08:00
HealthServiceDefault.cpp
OWNERS
TEST_MAPPING
android.hardware.health@2.0-service.rc
animation.h
charger.cpp
charger.sysprop
charger_test.cpp
charger_utils.cpp
charger_utils.h
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 Merge UP1A.230406.001 2023-04-08 06:00:40 +00:00
healthd_mode_charger_hidl.cpp
healthd_mode_charger_hidl.h
healthd_mode_charger_nops.cpp
healthd_mode_charger_nops.h
healthd_mode_charger_test.cpp