commit | 0703ea850d567e540b0fb4871974db22298a87d1 | [log] [tgz] |
---|---|---|
author | Alan Chen <[email protected]> | Wed Mar 20 13:44:25 2024 -0700 |
committer | Alan Chen <[email protected]> | Tue Apr 02 13:53:18 2024 -0700 |
tree | a6253a5bc6a16ee0382e2d2b5eefae03f582551a | |
parent | acf998642e708fd8c2a3aabd04e19711cb94e1e0 [diff] |
Set emulator to use automotive specific health hal Add an example battery health HAL that returns stubbed values. This will allow apps to get a logical battery stat value when querying via BatteryManager. When correctly installed, health service will be named android.hardware.health-service.automotive instead of android.hardware.health-service.example. Bug: 325636299 Test: adb shell ps -e | grep android.hardware.health Change-Id: I011c64581792eff2243c741b1074c264fd738330