GXDN: Gurux Developer Network
GetBatteryCharge Method (batteryCapacity, averagePowerConsumption)
NamespacesGurux.TerminalGXTerminalGetBatteryCharge(Int32%, Int32%)
Returns battery charge level and average power consumption.
Parameters
batteryCapacity ( Int32 %)
Battery capacity in percent.
averagePowerConsumption ( Int32 %)
Average power consumption in milliAmperes.
Remarks
Battery capacity 0, 20, 40, 60, 80, 100 percent of remaining capacity (6 steps). 0 indicates that either the battery is exhausted or the capacity value is not available. Average power consumption is in milliAmperes. Note: All modems don't support this operation. In this case zero values are returned.

Assembly: Gurux.Terminal (Module: Gurux.Terminal) Version: 5.0.0.1