I am a little confused with the description of ESP32 fire beetle on your web site that says: “The main controller supports two power supply methods: USB and 3.7V external lithium battery. And both USB and external DC can charge the Lipo battery directly” in one place, whereas in the same documentation: “The VCC port usually is not used as the power supply port of the mainboard. If you have to use that port to power the mainboard, then the battery input pin should be left floating.” what means that battery can not be charged by VCC port. Confusing… What is the solution to charge battery using a VCC pin and having a USB port not connected?
The output voltage of the pin VCC is equal to power source's voltage. (Output USB voltage when powered by USB, output battery voltage under 3.7V lipo battery input)The VCC port usually is not used as the power supply port of the mainboard. If you have to use that port to power the mainboard, then the battery input pin should be left floating.
I think the battery can only be charged through the USB interface.
If you supply power to esp32 through VCC, you cannot connect VB and usbvcc.