When i first start it it idles for 5 minutes or so at 2000 rpm before settling then when driving it idles at 2000 or a little higher between shifting gears (manual) and fluctuates at red lights(etc) between 1500 and 2500 every 3 seconds or so. I know i have a bad connection somewhere either on the positive battery terminal cable or the main wiring harness. I have to jiggle it to get it started. i realized this the other day when i went to start it and it clicked like the battery was completely dead. It is a 3.2 liter v6 fuel injected 4x4 LS. I can tell that it has had electrical problems in the past because it has a lot of new wiring under the hood especially to the starting and ignition systems.