Hi,
I'm currently designing a small dev board that will have three power sources. They will be the battery, USB, and Vin. The problem is that all of these power sources will be connected to an LDO. The USB and Vin will be able to charge the battery which as I said airlier will also be connected to the LDO. Thanks in advance to anyone that helps

.