NOVELTY - A chromium-containing electroplating wastewater involves injecting anaerobic sludge sodium acetate solution in anode chamber of microbial fuel cell, injecting microbial inoculation in cathode chamber, connecting anode and cathode chamber with resistor, incubating the electric pool. The anode chamber solution is replaced with anolyte. The cathode chamber is replaced with chromium-containing electroplating wastewater, followed by starting the microbial fuel cell, adjusting chromium-containing electroplating wastewater pH, placing in cathode compartment, connecting resistance and treating.    USE - Method for treating chromium-containing electroplating wastewater.    ADVANTAGE - The method achieves synchronous energy recovery purposes.    DETAILED DESCRIPTION - A chromium-containing electroplating wastewater involves injecting 50 ml and 150 ml anaerobic sludge sodium acetate solution in anode chamber of microbial fuel cell, injecting 200 ml microbial inoculation in cathode chamber, connecting anode and cathode chamber with 1000 ohm resistor to form a closed loop, incubating the electric pool at 35 degrees C and injecting 80 mg sodium acetate daily in anode chamber until the output voltage stability in 240-260 mV. The anode chamber solution is replaced with 200 ml anolyte. The cathode chamber is replaced with chromium-containing electroplating wastewater using graphite paper, followed by starting the microbial fuel cell, adjusting chromium-containing electroplating wastewater pH to 2 by using 50% sulfuric acid solution, placing in cathode compartment, connecting 1000 ohm resistance outside and treating for 25 hours, where the cathode comprises 13.60 g/l monopotassium phosphate, 11.70 g/l sodium chloride and 2.33 g/l sodium hydroxide, the anolyte comprises 13.60 g/l monopotassium phosphate, 1.00 g/l sodium acetate, 11.70 g/l sodium chloride, 1.64 g/l sodium hydroxide, 0.454 g/l ammonium chloride, 0.165 g/l magnesium chloride hexahydrate, 1.00 mg/l iron (II) chloride hexahydrate, 23.0 mg/l manganese (II) chloride tetrahydrate, 15.0 mg/l calcium chloride, 7 mu g zinc chloride, 70 mu g iron (II) chloride tetrahydrate, 24 mu g cobalt (II) chloride hexahydrate, 2 mu g nickel (II) chloride hexahydrate, 4 mu g sodium molybdate dehydrate, and the electroplating wastewater containing hexavalent chromium content is 50-500 ppm. An INDEPENDENT CLAIM is also included for a method for detecting chromium-containing electroplating wastewater, which involves measuring the removal of hexavalent chromium, determining maximum power density and battery removal of total chromium, calculating removal of hexavalent chromium network represented by expression as given the specification, calculating total chromium removal represented by expression as given the specification and detecting maximum power density and internal resistance represented by expression as given the specification.