Temperature monitoring on an Android device
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am writing a command-line application (to be run via adb) that among other things monitors the temperature of an Android platform (by reading the internal temperature sensor). When the test device overheats, it displays a popup window informing me of this. I need to trap this "high temperature" indication (from a program running at the command line), and log it to the output file. Does anyone know if there a signal in the Android Linux Kernel for a "high temperature" condition? If there is, how do I trap it?
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill