XIAO and battery/solar power

Have a read through of this post

Depends on your solar charger and battery.

Edit> In your case, if using an ADA390-ish device, I would use the 5V power pin (VUSB Pin14) of the XIAO-ESP32C3.