title: How to get battery level of Onyx ibeacons
body: <p>I am using <a href="https://github.com/AltBeacon/android-beacon-library" rel="nofollow noreferrer">altbeacon</a> library.And I use <a href="http://www.onyxbeacon.com/" rel="nofollow noreferrer">onyxBeacon</a> ibeacons. I examine <a href="https://stackoverflow.com/questions/25885659/how-to-get-battery-level-of-kontakt-ibeacons">this</a> and <a href="https://github.com/AltBeacon/android-beacon-library/issues/61" rel="nofollow noreferrer">this</a>  post. But its not work for me.</p>
  
  <pre><code>public void onBeaconServiceConnect() {
      beaconManager.setRangeNotifier(new RangeNotifier() {
          @Override
          public void didRangeBeaconsInRegion(final Collection&lt;Beacon&gt; beacons, Region region) {               
              if (beacons.size() &gt; 0) {                  
                  runOnUiThread(new Runnable() {
                      @Override
                      public void run() {
                          // TODO Auto-generated method stub
                          // MyCustomFunction();
                      }
                   });
              }
  
              for (Beacon b : beacons) { 
                  long batteryLevel = b.getDataFields().get(0);
              }
          }
      });
  }
  </code></pre>
  
  <p>'batterylevel' return same value.
  How can i get the battery level from the beacon?</p>