That really could be many things. The only thing to do is to start ruling out different things. How long have you let the car run for since recharging the battery? It's possible that the computer just hasn't relearned it's idle since the battery died.
Also try checking your computer codes as that may lead you in the right direction.