Does the battery charge if you keep the car idle?

Your car’s battery will start to charge as long as your engine is running.