Ergotropy from coherences in an open quantum system.