He spotted a big generator working busily--and then saw a gang of about fifty men, or mandrakes, turning a big capstan that kept it going.
The generator needed lots of power. 
mnli hypothesis: The generator needed lots of power.  premise: He spotted a big generator working busily--and then saw a gang of about fifty men, or mandrakes, turning a big capstan that kept it going.