A prototype fuel cell has been developed that uses microbes to generate electricity while cleaning wastewater.