Single solar cell anti-reverse charging