How to get April Beacon battery power?

Hi, may i know how to get the battery power for AprilBeacon? what is the algorithm to get the battery power?
Please help, im new in this.

You can get it by our app AprilBeacon. You can also get it by our SDK.

Is it here:

private void setBattery() {
	read = new AprilBeaconCharacteristics(this, beacon);
	read.connectGattToRead(new MyReadCallBack() {
		@Override
		public void readyToGetBattery() {
			final Integer battery;
			try {
				battery = read.getBattery();
				ModifyActivity.this.runOnUiThread(new Runnable() {
					@Override
					public void run() {
						tv_battery.setText(battery + "%");
						read.close();
					}
				});
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
	}, READ_BATTERY);
}

Sorry because im really new in native android development

Yes use AprilBeaconSDK this method can get AprilBeacon battery power

Thank you very much, I would try !