Chosen Solution

I cracked my screen and it seemed to be working fine then later that night i had it charging but it wasn’t exactly charging. It should the power thing but my batter percentage want going up, it was just staying or going down as time flew by. Is it my charger port or my battery or do I simply need a new charger.

Always try an original Apple charger to rule that out but most likely not the case. If your charger was bad your phone wouldn’t recognize it at all. Most likely a faulty battery or your tristar ic on your motherboard. I would try a battery first (known good one) and a restore never hurts in case its a software bug. Last resort would be (and this is still very likely), your tristar charging ic on the board itself which is a solder job. You could have a professional shop run a voltage test on caps near the tristar to check it as well.