Turns off aoc dmic power for off mode charging

Test: local test
Bug: 262069882
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I750999baf255ebf1e031dc599716554fad357493
This commit is contained in:
yixuanjiang 2022-12-28 14:00:09 +08:00 committed by Yixuan Jiang
parent 5bc4ee257a
commit 0624786016

View file

@ -101,6 +101,9 @@ on post-fs-data
on post-fs-data
chmod 644 /mnt/vendor/persist/audio/speaker.cal
on init && property:ro.bootmode=charger
write /sys/devices/platform/19000000.aoc/dmic_power_enable 0
# Thermal
on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/tz-by-name/charger_skin_therm/trip_point_0_temp