Where to add a power on/off switch to an ESP32 board with battery

Not going to happen, because charger and MCU are on the same board, using the same supply.

You can however put the processor to sleep, with a switch or button connected to a pin. The charger chip will continue to do it's thing, because it doesn't rely on the processor to work.
Schematics here.
Leo..

1 Like