title: How to make an iOS app, that perform function in the background with some interval?
body: <p>I want make my iOS app, that can every 5 minutes perform a specific function. How to do it?
  A function is simple, like </p>
  
  <pre><code>batter = 95; // will be calculated.. every time is differ
  [UIApplication sharedApplication].applicationIconBadgeNumber = batter;
  </code></pre>
  
  <p>I need to make timer for it, in background</p>