xref: /aosp_15_r20/hardware/interfaces/health/2.0/utils/README.md (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1*4d7e907cSAndroid Build Coastguard Worker# libhealthhalutils
2*4d7e907cSAndroid Build Coastguard Worker
3*4d7e907cSAndroid Build Coastguard WorkerA convenience library for (hwbinder) clients of health HAL to choose between
4*4d7e907cSAndroid Build Coastguard Workerthe "default" instance (served by vendor service) or "backup" instance (served
5*4d7e907cSAndroid Build Coastguard Workerby healthd). C++ clients of health HAL should use this library instead of
6*4d7e907cSAndroid Build Coastguard Workercalling `IHealth::getService()` directly.
7*4d7e907cSAndroid Build Coastguard Worker
8*4d7e907cSAndroid Build Coastguard WorkerIts Java equivalent can be found in `BatteryService.HealthServiceWrapper`.
9