Disable sensor power for off mode charging.
Bug: 261519005 Test: Build pass. Test: sensor_test sample -s0. Change-Id: I012a9342286370c019fc46e978913a89aa474da6
This commit is contained in:
parent
19a6de8c96
commit
d9c6a4a7d5
1 changed files with 4 additions and 0 deletions
|
@ -119,3 +119,7 @@ on post-fs
|
|||
chmod 600 /sys/devices/platform/google,pogo/hall1_s
|
||||
chmod 600 /sys/devices/platform/google,pogo/hall1_n
|
||||
chmod 600 /sys/devices/platform/google,pogo/hall2_s
|
||||
|
||||
# Sensor
|
||||
on init && property:ro.bootmode=charger
|
||||
write /sys/devices/platform/19000000.aoc/sensor_power_enable 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue