What causes intermitent dashboard lights to flicker on Hyundai santa fe?

An elf under the hood who's disconnecting and re-connecting the battery terminals!