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