Solar power supply for indoor lighting and outdoor charging