Engineers have made a breakthrough in the performance of microbial fuel cells that can produce electricity directly from wastewater, opening the door to a future in which waste treatment plants not only will power themselves while cleaning sewage, but will sell excess electricity.