Single-sided heterojunction battery