Android 如何获取CPU的温度
最近的项目有需求要获取CPU的温度,在网上找了一些资料,基本算是解决了问题: 进入adb shell执行下面的命令: shell@android:/ $ cat /etc/thermald.conf 这个不同设备得到的结果可能是不已样的,有这样的: sampling 5000 [tsens_tz_sensor0] sampling 5000 thresholds 10 thresholds_clr 5 actions none action_info 0 [tsens_tz_sensor1] sampling 5000 thresholds 60 thresholds_clr 57 actions none action_info 0 [tsens_tz_sensor2] sampling 5000 thresholds 60 thresholds_clr 57 actions none action_info 0 [tsens_tz_sensor3] sampling 5000 thresholds 60 thresholds_clr 57 actions none action_info 0 [tsens_tz_sensor4] sampling 5000 thresholds 60 thresholds_clr 57 actions none action_info 0