Saw this on another forum and it's worth sharing here:
It's been said a bazillion times on this forum - JK's are sensitive to low voltage conditions. Check your grounds, clean the battery terminals, use Mopar sensors. That is all.
"My 2012 has had all sorts of repairs and fixes but it still has problems with rough idling, computer glitches in the dash that don't show up on Jscan, ESC torque control kicking into safe mode, misfires, bad shifting, etc. I have spent money on fixes the last 6-8 months that probably were a waste because of this battery. I put a new battery in and it runs like a top."
It's been said a bazillion times on this forum - JK's are sensitive to low voltage conditions. Check your grounds, clean the battery terminals, use Mopar sensors. That is all.