How to get the dragonboard temperature?


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?)


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


You can also use cpufreq-info for frequency.


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?


Take a look at:


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