Police cars are often equipped with a huge amount of equipment, including lights, radios, and sirens. In some cases, this equipment can draw a significant amount of power, and leaving the car idling helps ensure that the battery will not be drained. The last thing they want is a drained battery when there is an emergency call.