title: Android temperature zones?
body: <p>I've seen numerous questions/answers showing how to get temperature information from an Android device - using this approach:</p>
  
  <pre><code>int zoneNumber = 0; // Usually 0 or 1
  String temperatureFileLocation = "sys/devices/virtual/thermal/thermal_zone" + zoneNumber + "/temp";
  File temperatureFile = new File(temperatureFileLocation);
  scanner = new Scanner(temperatureFile);
  double temperatureC = scanner.nextFloat(); // Degrees C
  ...
  scanner.close(); // finally
  </code></pre>
  
  <p>I wasn't really sure what each zone is for (i.e., in which part of the device the sensor is located) but I just discovered that there is also a file that describes the <em>type</em> of each zone - for example:</p>
  
  <pre><code>String zoneTypeFileLocation = "sys/devices/virtual/thermal/thermal_zone" + zoneNumber + "/type"; // NB - that's "/type" not "/temp" !
  </code></pre>
  
  <p>Now, when using <code>Scanner</code> to read in what <strong>type</strong> each zone is, I get values back such as this:</p>
  
  <pre><code>mtktswmt 
  mtktscpu
  mtktspmic
  mtktspa
  mtktsabb
  mtktsbattery
  tsen_max
  sec-fuelguage
  </code></pre>
  
  <p>Can anyone explain what locations/components all these zone names are actually referring to?</p>
  
  <p>(Ideally, I would like to obtain the temperature of the device's NFC hardware.)</p>