thermal-engine.conf 用来配置主板高温时的降温策略
在目录vendor/qcom/proprietary/thermal-engine
由 therml_config.c 来解析 函数 load_config()
Thermal engine 调试
1.找到当前的thermal engine配置
- adb shell thermal-engine –o > thermal-engine.conf
2.修改该文件后推送到设备上
3.将”debug“放到thermal-engine.conf的首行,然后重新启动thermal-engine服务
- adb shell stop thermal-engine
- adb root
- adb remount
- adb push thermal-engine.conf /system/etc/thermal-engine.conf
- adb shell sync .
- adb shell strat thermal-engine --debug &
4.logcat查看系统温度log
- adb logcat –v time –s ThermalEngine
时间: 2024-10-28 19:10:39