In Star Wars, this is called a GNK power droid. It is literally a walking battery. It does nothing else. And for some weird reason it is programmed to feel pain, because in Return of the Jedi you see one of Jabba the Hutt's henchman hang it upside down and burn its feet and the droid feels pain...