batteryPercentage property
The charge of the battery, as a percentage.
Implementation
double get batteryPercentage => (batteryVoltage - 24) / 6;
The charge of the battery, as a percentage.
double get batteryPercentage => (batteryVoltage - 24) / 6;