Search code examples
androidgpusensorsmonitortemperature

Get GPU temperature in Android


I'm developing an Android application to manage GPU temperature. In the same way I read CPU temperatura (/sys/devices/virtual/thermal/thermal_zone0/temp) I was searching something to get the temperature for GPU in Android but coouldn't find anything.

My question is: It is possible get temperature from GPU in Android?

If it is possible, where can I find the file which have this information?

Thanks.


Solution

  • "/sys/class/thermal/thermal_zone10/temp"

    Took me a lot of time to figure out because I was unable to find any help online regarding this.

    I was able to find out that sensor10 belongs to GPU but I am unable to find that file again which contains the value because digging is too deep and complicated.