I am trying to read the voltage going into the Vin pin of the electron so that I can send it in my heart beat data reporting as a way to monitor the battery charge state. I am already in LRIP so rewiring the battery to another analog pin means a redesign. Is there a way to get the electron to read the voltage going in without another IO pin being used?
The PMIC is turned off and the fuel gauge is already disabled. The electron is powered via Vin pin by an external SLA battery and solar panel.