title: Estimated battery time on iOS
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1469549/iphone-calculating-battery-life">iphone: Calculating battery life</a>  </p>
  </blockquote>
  
  
  
  <p>I have seen many apps in appstore which provides Estimated battery work time for different usage patterns (standby, audio and video playback, Wi-Fi and 3G browser usage, talk time). I have a similar requirement to compute the estimated time like this. Can someone throw some light on how to do this programmatically?</p>