bcl: support thismeal binary parsing

Test: ./dump_power and adb bugreport
Bug: 293899466
Change-Id: I4ba2ee96a02573993cd4de132db9095f73253041
Signed-off-by: samou <samou@google.com>
This commit is contained in:
samou 2023-10-31 16:57:14 +00:00
parent ce8c8e9bb8
commit 505f0b8308
2 changed files with 21 additions and 0 deletions

View file

@ -77,6 +77,9 @@ on init
chown system system /sys/devices/platform/google,charger/dd_state
chown system system /sys/devices/platform/google,charger/dd_settings
# for parsing thismeal.bin
chown system system /vendor/bin/hw/battery_mitigation
on early-boot
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1