Battery Percentage display


#1

SDK v8.0
Dear Friends,
Can anyone help getting the Battery percentage displayed in the scanning view?

I mean where to even start. it look like scanner can reply if the battery is charged, low on battery or discharged.
But I have certainly seen Structure based app which managed to implement the charge %.

Thank you in advance


#2

You can get the charge percentage of the Structure Sensor by using the -getBatteryChargePercentage function found in the STSensorController Class.