author | Hridya Valsaraju <hridya@google.com> | |
Fri, 28 Sep 2018 17:44:02 +0000 (10:44 -0700) | ||
committer | Hridya Valsaraju <hridya@google.com> | |
Fri, 28 Sep 2018 21:30:20 +0000 (21:30 +0000) | ||
commit | bf0b9faaadaace8fd6b3b72f8cde023a854c333a | |
tree | 4a7e7db00737fe5e5ed9b50116ba274b1d5e78bd | tree | snapshot (tar.xz tar.gz zip) |
parent | 0d30daba94d703fa05e16e2296688bc510f34a79 | commit | diff |
Initialize healthd_mode_ops in recovery default Health HAL impl.
This is required for correct functioning of getHealthInfo() API
in recovery since BatteryMonitor requires healthd_mode_ops to be
initialized to update battery properties.
Bug: 78793464
Test: fastboot getvar battery-voltage
Change-Id: I9ff77664cada22e4aa3668bfb7d28d5f1d45590b
This is required for correct functioning of getHealthInfo() API
in recovery since BatteryMonitor requires healthd_mode_ops to be
initialized to update battery properties.
Bug: 78793464
Test: fastboot getvar battery-voltage
Change-Id: I9ff77664cada22e4aa3668bfb7d28d5f1d45590b
health/2.0/default/Health.cpp | diff | blob | history | |
health/2.0/default/HealthImplDefault.cpp | diff | blob | history |