marlin: add battery limit in thermal config

With CL
On heating
marlin:/ # cat /sys/class/power_supply/battery/system_temp_level
3
After cooling down
marlin:/ # cat /sys/class/power_supply/battery/system_temp_level
0

Bug: 63266170
Test: boot
Change-Id: I1f75e29200ef23cbddf21ccf2ab5b73c2f060914
diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts
index 6928855..2517b90 100644
--- a/sepolicy/genfs_contexts
+++ b/sepolicy/genfs_contexts
@@ -53,6 +53,7 @@
 genfscon sysfs /devices/soc/qpnp-smbcharger-16/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0
 genfscon sysfs /devices/virtual/timed_output/vibrator/voltage_level   u:object_r:sysfs_vibrator:s0
 genfscon sysfs /module/diagchar/parameters/timestamp_switch           u:object_r:sysfs_timestamp_switch:s0
+genfscon sysfs /devices/soc/qpnp-smbcharger-16/power_supply/battery/system_temp_level u:object_r:sysfs_msm_subsys:s0
 
 # debugfs
 genfscon debugfs /kgsl/proc                u:object_r:debugfs_kgsl:s0
diff --git a/thermal-engine-marlin-vr.conf b/thermal-engine-marlin-vr.conf
index ccf4e87..ae80d86 100755
--- a/thermal-engine-marlin-vr.conf
+++ b/thermal-engine-marlin-vr.conf
@@ -15,3 +15,12 @@
 thresholds_clr    52000
 actions   cluster0+cluster1+gpu
 action_info        691200+691200+214000000
+
+[BATTERY-MONITOR]
+algo_type         monitor
+sampling          2000
+sensor            emmc_therm
+thresholds        56000
+thresholds_clr    54000
+actions 	  battery
+action_info	  3
diff --git a/thermal-engine-marlin.conf b/thermal-engine-marlin.conf
index c5a3f2a..02c3c26 100755
--- a/thermal-engine-marlin.conf
+++ b/thermal-engine-marlin.conf
@@ -56,6 +56,15 @@
 actions           cluster0+cluster1+gpu   cluster0+cluster1+gpu
 action_info       691200+691200+133000000 307200+307200+133000000
 
+[BATTERY-MONITOR]
+algo_type         monitor
+sampling          2000
+sensor            emmc_therm
+thresholds        56000
+thresholds_clr    54000
+actions 	  battery
+action_info	  3
+
 [HOT-SKIN-VIRTUAL]
 algo_type	virtual
 trip_sensor	emmc_therm