title: How to get the battery temperature details in iOS?
body: <p>I am getting battery status and others .</p>
  
  <pre><code>UIDevice *myDevice = [UIDevice currentDevice];
  [myDevice setBatteryMonitoringEnabled:YES];
  float batLeft = [myDevice batteryLevel];
  int i=[myDevice batteryState];
  
  int batinfo=(batLeft*100);
  
  NSLog(@"Battry Level is :%d and Battery Status is :%d",batinfo,i);
  
  switch (i)
  {
      case UIDeviceBatteryStateUnplugged:
      {
  
          break;
      }
      case UIDeviceBatteryStateCharging:
      {
  
          break;
      }
      case UIDeviceBatteryStateFull:
      {
  
          break;
      }
      default:
      {
  
          break;
      }
  }
  </code></pre>
  
  <p>Now i am trying to get the temperature details is it possible to get the battery temperature from device .</p>