Converting methane from waste into electricity