Java Mine
ContentsIndexHome
PreviousUpNext
Gateway.BatteryPercentageHelper Method (double, double, double, double, double, double, double)
Syntax
Java
public static double BatteryPercentageHelper(double zero, double ten, double twentyFive, double fifty, double seventyFive, double oneHundred, double reportedVoltage);

 

Returns an estimated percent of remaining battery based on linear interpolation between defined percentage points

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!