Query battery charge status

hi,

what is the difference between the hardware.vbat and the BG96_Modem.readBatteryVoltage call? in my case the first one returns 3.273 and the second one 4.056. This makes a big difference.

Which one should i trust?

thanks

Assuming this is imp006, the hardware.vbat would read the MCU VBAT, which typically connected to VDD of the MCU, hence around 3.3V. While BG96_Modem.readBatteryVoltage would read BG96 supply rail, which is on a different supply rail, typically set to 3.7V - 4.2V depending on your design.

This topic was automatically closed after 60 days. New replies are no longer allowed.