How can I monitor the remaining battery charge status on a battery operated ESP32 microcontroller project with re-chargable eg. 18650 battery. This is somewhat similar to battery operated handheld devices / cameras .. etc dispaly battery status. Is it done by just reading the voltage across the Battery terminal...
Thanks for your help on this.
In addition to monitoring the voltage with a voltage divider network as suggested by "sadman" you can also put a shunt resistor in series to the Load, to monitor the current which will give a real time of juice left in the battery. But this will make it accurate but a bit complicated and difficult in coding.