What does the system information battery information say? You can run this directly under application/utilities folder. Look under power section. At the least, the battery health condition should be normal. Other than that, do a SMC reset and charge the battery to 100% and let it drain couple of times and see if this problem goes away.
Thanks for responding. I am using a recently downloaded ipsw actually. It is not that part. Actually itunes starts the process. I looked at the log file too. It begins the restore and waits for ipad to respond, errors out on something like expects Restore but got DFU or something.