Solar cells directly store batteries