Based on constant current/constant voltage single cell charger chip CN3065, this board is intended for usage in solar powerd projects. It can charge battery while powering the system and it can charge baterry while connected via micro USB connector.
If your microcontroller and it's power source are a few metars apart, this high quality cable can solve this problem easily. Sold by meter, max 10 m in one piece.