Drawing energy from a 3.7V LiPo battery while simultaneously charging with a solar panel
You can connect the solar panel to the battery permanently and add a circuit that switches the charge current off when the voltage on the battery reaches 4.2V