Here's another interesting application node about solar-charging LiPo's. From [another thread](http://talk.jeelabs.net/topic/11).
I was going to try something much simpler. I think it was mentioned in Elektor at some point. Put a 4.5V solar cell and a MOSFET in parallel, feeding a LiPo battery through a diode. Make sure max solar current doesn't exceed LiPo 1C specs. Use a voltage divider to measure current Solar / LiPo voltage, and simply turn the MOSFET on whenever 4.2V + diode-foward-V is reached. Solar cells have no problem with being shorted out, as I understand it, so that would cover over-voltage protection.
For under-voltage, the ATmega should probably shut itself off at 3.0 .. 3.1 V or so, to avoid damage to the LiPo. Maybe even go into a special mode, to try and get the charge back up when there is enough sunlight.