A device that mimics the squeezing action of the human heart has been used to pump urine into a microbial fuel cell, which could power robots that convert the waste into electricity.