Hello,
I intend to read the battery level of the nRF9160. I see that I have 2 alternatives to perform this function, using the AT%XVBAT command or reading the battery voltage across the ADC using a voltage divider.
Currently I feed VDD1 and VDD2 through an LDO that gives me 3.3V regardless of the battery voltage, so if I use the AT%XVBAT command I will always read the value of 3300 mV or something very close to that.
So to use the AT%XVBAT command correctly, I would have to remove the LDO and feed the VDD1 and VDD2 pins directly from the battery (3.0 - 4.2 V), in terms of consumption, reliability and accuracy, which approach is more recommended, keep my circuit as it is and carry out the measurements through the ADC or carry out the aforementioned modifications to use the AT%XVBAT command?
Thank you.