title: iOS: how to get correctly battery level
body: <p>I have tried to get correctly battery level. But that value is not like value in status bar of iphone.</p>
  
  <p>by code use UIDevice:</p>
  
  <pre><code>[[UIDevice currentDevice] setBatteryMonitoringEnabled:YES];
  
  [[UIDevice currentDevice] batteryLevel];
  </code></pre>
  
  <p>please someone help me! I need get correctly battery level that like in status bar imdimatery.</p>