Compound solar thin film battery