Thin-film components for lithium-ion batteries