Issue
Ill am trying to find a way to get the temperature of the CPU of any android device only with adb command.
Solution
Use adb shell ls sys/class/thermal/
to get list of thermal zones and then:
adb shell cat sys/class/thermal/[name of thermal zone]/temp
For example: adb shell cat sys/class/thermal/thermal_zone0/temp
Note: Some of the thermal zones may return some weird values especially those with higher number. Also, some thermal zones return values in millidegree Celsius.
Answered By - pr0gramist
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.