What is it that's not getting power? The programmer, or the robot?
The programmer is only needed while uploading the .hex file; you can disconnect it from the robot and the computer when that's done.
If the robot is currently not getting power, then you should start looking at the battery pack with a volt meter, and follow each link in the chain with the voltmeter, until you find the place that doesn't get power.