Java Mine
ContentsIndexHome
PreviousUpNext
BatteryPercentageHelper Method

This is the overview for the BatteryPercentageHelper method overload.

 
Name 
Description 
 

a more advanced version of the BatteryPercentageHelper if you created your own battery for the gateway @param zero the voltage that would be read if the gateways battery is about to die @param ten the voltage that would be read if the gateways battery is around 10% battery life @param twentyFive the voltage that would be read if the gateways battery is around 25% battery life @param fifty the voltage that would be read if the gateways battery is around 50% battery life @param seventyFive the voltage that would be read if the gateways battery is around 75% battery life... more 
 

returns a percentage from the voltage given to know if the gateway is using it's battery or not @param batteryType This shows if the gateway is using a direct line or a battery back up @param reportedVoltage This is the voltage given when the gateway checks in 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!