int getBatteryPercentage()

This function can be used to return the percentage of battery use available.

Return

The battery percentage.