thermal: enable cooling devices cur state permissions
Enable permissions for wcl_fcc and dc_icl cooling devices current state for charging throttling. Bug: 204523879 Test: build and boot on device. Check charging throttling Change-Id: Icf175bd270d0eb6a9d2adcde2199b034683a8b8f Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
parent
ff3ce560fa
commit
589318e5c4
1 changed files with 2 additions and 0 deletions
|
@ -884,6 +884,8 @@ on property:vendor.thermal.link_ready=1
|
||||||
chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
|
chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
|
||||||
chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
|
chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
|
||||||
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
|
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
|
||||||
|
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
|
||||||
|
chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state
|
||||||
|
|
||||||
on property:vendor.disable.bcl.control=1
|
on property:vendor.disable.bcl.control=1
|
||||||
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue