Did you happen to short anything during the battery swap?
Try disconnecting the battery for 5 minutes, reconnect it, start the car (let it idle, don't touch the throttle) and allow it to relearn the idle for a few minutes.
Shut it of & re-start it...
Post back if that doesn't fix it.
There is another way to reset the
ecu but try the battery disconnect first.
HTH