The system is battery powered. When the battery is low, the user can connect the AC/DC adaptor to the board, then the DC input can charge the battery through the charger circuit.
I don't have the problem in charger circuit design because there are a lot of examples on the internet. The issue is I don't know how to combine the battery charge and discharge circuit. I mean when the battery is charging, the current flows into it and vice verse. How can I control the current direction around the battery?
Edit: One of the solution to control the current direction according to the different scenario is Power Path. Take the BQ2403x of TI charge controller for example.
In a word, with the help of power path management, the battery controller can control the current running into or out of battery as required.
Unfortunately, I haven't found other solution without power path that can implement the same function. I would be very appreciated if anyone can share me a link with the different solution.