I have a project where Arduino Nano 33 BLE (3.3V operating voltage) is powered by a LiPo battery. The battery is charged using Adafruit's MicroLipo Charger it is then connected to Adafruit's MiniBoost to boost the voltage to 5V and that powers the Arduino through Vin as well as a logic level converter.
Ideally I'd like to use the device while it's charging. The MicroLipo charger provides a USB C breakout board providing a 5V pin. Is it a bad idea to connect 5V output from the boost converter and from USB C to th same power rail as shown in the frtizing sketch? My gut says try it, my brain says this is a dumb idea.
Is there a way I could use something as a switch which takes in 5V from both the cable and the battery only uses the battery when cable voltage is 0V (not connected)?