首页 > 移动平台 > 详细

Android Thermal-engine

时间:2017-09-26 20:15:56      阅读:1178      评论:0      收藏:0      [点我收藏+]

thermal-engine.conf 用来配置主板高温时的降温策略

在目录vendor/qcom/proprietary/thermal-engine

由 therml_config.c 来解析 函数 load_config()

技术分享

 
Thermal engine 调试
 
1.找到当前的thermal engine配置
  1. adb shell thermal-engine –o > thermal-engine.conf  
 
2.修改该文件后推送到设备上
 
3.将”debug“放到thermal-engine.conf的首行,然后重新启动thermal-engine服务
  1. adb shell stop thermal-engine  
  2. adb root  
  3. adb remount  
  4. adb push thermal-engine.conf /system/etc/thermal-engine.conf  
  5. adb shell sync .  
  6. adb shell strat thermal-engine --debug &  
4.logcat查看系统温度log
  1. adb logcat –v time –s ThermalEngine  

Android Thermal-engine

原文:http://www.cnblogs.com/Hello-words/p/7458209.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!