Code for handling power at Erle Robot.