iPhone X constantly restarts then battery shows 0%!
I have recently updated to iOS 12.3.1 last week and during the past 2 days, my phone has been restarting, then the battery would show that it is at 1% on the status bar and 0% on the wake screen. There is even that lag usually when the battery drops to 1% which is normal for the X and 8 I believe. If I keep using the phone or charge, it will either reset again or the battery would jump up to where it normally is. The battery percentage wont go to 2% if I keep it charging because 1% is not the actual percent left. The only thing I can think of is installing the update with just under 50% battery. I have reset all settings and once that did not work, I have restored the phone from a previous date. Any assistance or tips is appreciated before bringing in to repair or even replace the battery.