battery_mitigation may be kept in forever loop to read sysfs node. This makes sure that the loop is exited after 10 tries. Bug: 275028861 Test: Local boot up and ensure battery_mitigation comes up Change-Id: I02936f4426519b2c9fbc776cdb2614fdeba872c0 Signed-off-by: George Lee <geolee@google.com>
Please refer to go/pixel-recycle to modularize your code in this space.
Description
Languages
C++
81.9%
Makefile
12.4%
Shell
5.7%