From 67a1fe1e1096a7fbd5785edeeffb4c77c853038c Mon Sep 17 00:00:00 2001 From: Jikai Ma Date: Fri, 29 Sep 2023 21:28:32 +0000 Subject: [PATCH] thermal: allow system to overwrite the trip point of btmspkr_therm this should work with ag/24900428: equations of caimoto virtual skin sensors Bug: 296476775 Test: adb shell ls -al dev/thermal/tz-by-name/btmspkr_therm/trip_point_* Change-Id: I943cb4b5323984bb1e6a4541978926f427d4ee12 --- conf/init.zumapro.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/init.zumapro.rc b/conf/init.zumapro.rc index 661cdee..fc961cc 100644 --- a/conf/init.zumapro.rc +++ b/conf/init.zumapro.rc @@ -774,7 +774,6 @@ on property:vendor.charon.exec=0 on property:sys.retaildemo.enabled=1 setprop persist.vendor.charge.stop.level 35 setprop persist.vendor.charge.start.level 30 - # Test Harness Mode default battery profile. on property:persist.sys.test_harness=1 && property:persist.vendor.testing_battery_profile=0 setprop persist.vendor.charge.stop.level 70 @@ -919,6 +918,8 @@ on property:vendor.thermal.link_ready=1 chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_hyst chown system system /dev/thermal/tz-by-name/usb_conn_therm/trip_point_0_temp chown system system /dev/thermal/tz-by-name/usb_conn_therm/trip_point_0_hyst + chown system system /dev/thermal/tz-by-name/btmspkr_therm/trip_point_0_temp + chown system system /dev/thermal/tz-by-name/btmspkr_therm/trip_point_0_hyst chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote