A special circuit is needed when charging a battery from a Solar Panel. When the solar panel is not providing any power the battery might start draining current into the panel. One common solution is to have a diode in series with the charging circuit to keep the current from going back to the solar panel. The problem with using a diode is the voltage drop across the diode reduces the available voltage for charging.
This circuit is great because the LTC4357 prevents the current back feeding into the panel without having the voltage drop limitation of the diode circuit
Solar Panel Charging Circuit - [Link]