percentage property
The current battery level as a percentage.
Represents the charge level of the battery on a scale from 0 to 100. If the battery percentage is unavailable, this field is set to -1. This value is commonly used to display battery status to users or for power management purposes.
Implementation
final int percentage;