The idea is simple enough, there is a permeable membrane between the section of the fluid that has certain specialized bacteria & the section that does not; the metabolic processes of the bacteria produce ions that in turn are an electrochemical potential differential causing a micro-voltage, hence... a battery.
The Proffesor should have thought of this. The Skipper is a big dude.
I could see burning it for some kind of steam powered generator, but I doubt the return on the olfactory investment would be worth the trouble for dung batteries. Maybe I'm wrong. I'm amazed at the ingenuity of people sometimes.