odpm: Create powerstats vendor data folder on init am: 0b1dfb92c8 am: 1fd512f4b8 am: c42b2310d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15289529 Change-Id: Ibb15642bab316b6102096643d1d0359a56e1e9c2
This commit is contained in:
commit
c87b0e0c7b
1 changed files with 4 additions and 0 deletions
|
@ -809,6 +809,10 @@ on fs
|
|||
chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-7/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails
|
||||
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/i2c-s2mpg11mfd/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/powerstats 0771 system system
|
||||
chown system system /data/vendor/powerstats
|
||||
|
||||
on property:vendor.thermal.link_ready=1
|
||||
# BCL
|
||||
write /dev/thermal/tz-by-name/smpl_gm/policy user_space
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue