title: iOS 12 – The simplest way to obtain battery cycle count for iPhone
body: <p>I know that public API at the moment allows obtain only two useful properties for battery: <code>batteryLevel</code> and <code>batteryState</code>. Even after WWDC 2018 there's no any changes.</p>
  
  <pre><code>let batteryLevel = UIDevice.current.batteryLevel  /* from 0 to 1 */
  let batteryState = UIDevice.current.batteryState  /* four states */
  </code></pre>
  
  <p>What's the simplest way to obtain <strong>battery cycle count</strong> in iOS 12 using free private API or Apple's official API? </p>
  
  <p>P.S. <code>UIDeviceListener</code> isn't working in iOS 10/11/12. Also it's written in Objective-C.</p>