By producing electricity from the organic matter in wastewater, a new microbial battery may more than cover the costs of water purification. Sophie Bushwick reports.