Saving electric energy by integrating a photoelectrode into a Li-ion battery