Merge "thermal: support low power mode prop switch" into main

This commit is contained in:
Treehugger Robot 2025-01-17 07:15:34 -08:00 committed by Android (Google) Code Review
commit 0542d480bb

View file

@ -582,6 +582,14 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/cdev-by-name/thermal-uclamp-4/cur_state
chown system system /dev/thermal/cdev-by-name/thermal-uclamp-7/cur_state
on property:vendor.thermal.link_ready=1 && property:vendor.pixel.system.phenotype.Thermal__shutdown_exp_enabled=true
setprop vendor.thermal.config "thermal_info_config_lpm.json"
restart vendor.thermal-hal
on property:vendor.thermal.link_ready=1 && property:vendor.pixel.system.phenotype.Thermal__shutdown_exp_enabled=false
setprop vendor.thermal.config "thermal_info_config.json"
restart vendor.thermal-hal
on charger
# Use charger thermal config
setprop vendor.thermal.config "thermal_info_config_charge.json"