sounds like a problem with the idle air vent circuit, perhaps when you replaced your battery your car kinda "forgot" where the vent should be on start-up, I know that can happen when you replace the vent solenoid. if the problem doesn't correct itself soon then it may be the solenoid.