batteryPercentage property

double get batteryPercentage

The charge of the battery, as a percentage.

Implementation

double get batteryPercentage => (batteryVoltage - 19) / (24.5 - 19);