How to get the dragonboard temperature?


#1

How do I programmatically get the dragonboad 410c temperature and other statistics like current processor speed? (The speed may be reduce if the temperature is high?)


#2

You can read this from sysfs. Look in /sys/devices/virtual/thermal
and /sys/devices/system/cpu .


#3

You can also use cpufreq-info for frequency.


#4

Thanks, @danielt - we need more information. The /thermal folders contains folders and many files, we need to understand exactly whats there so understand how to actually get the termperatures. Can you send the documentation for the file structure?


#5

Take a look at: https://www.kernel.org/doc/Documentation/thermal/sysfs-api.txt


#6

Here you can see some interesting information about thermal debugging on DragonBoard 410c: