Recharging a lipo battery while using it
The problem with charging and using a LiPo at the same time is that end of charge is not properly detected. The MCP73831 uses the current level at the end of the constant voltage stage for charge termination.