Chosen Solution

when I try to charge my phone it keeps dinging and the battery icon at the top right keeps jumping back and forth

Try another charging cable and wall adapter. Then try cleaning the charger port if there is any dust or blockage inside. Use a toothpick, tweezers or equivilant to clean out the gunk out of the charging port. Last resort, try changing the lightning dock assembly. You can get the part from here: iPhone 6 Plus Lightning Connector and Headphone Jack Guide to replace the part: iPhone 6 Plus Lightning Connector and Headphone Jack Cable Replacement

I just unplugged my charger from the phone just now as it was 100% charged and the annoying dinging stopped immediately!