GXDN: Gurux Developer Network
GetBatteryCharge Method (batteryCapacity, averagePowerConsumption)
NamespacesGurux.SMSGXSMSGetBatteryCharge(Int32%, Int32%)
Retrieves battery charge level and average power consumption.
Parameters
batteryCapacity ( Int32 %)
Indicated in percents of remaining capacity. (six steps: 0, 20, 40, 60, 80 or 100 percent). 0 indicates that either the battery is exhausted, or the battery capacity is not available.
averagePowerConsumption ( Int32 %)
Indicated in milliAmperes.
Remarks
If the modem does not support the BatteryCharge method, zero values are returned.

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