I've been having battery jumps since iOS11. Can shut down at 20% sometimes 40%. Try to turn on and receive battery indicator symbol. Plug in and I have 20%/40% again. Fine on iOS 10.
Excuse the background noise. I can't record it via screen grab, as it will not save. Notice the drop in frame rate and apps either refuse to launch, or takes a long time to launch.
After some time, the phone will automatically restart, and will try to restart until eventually it will show the screen asking me to plug in to charge the phone.
I don't know why the battery app shows 104%. Either it's not accurate, or I got cheated off a fake battery. One thing for certain, it wasn't like this in 10.3.3. Prior to replacing the battery, with charge capacity of 80%, off my memory, the phone never behaved like this. It only suddenly shut down at around 40%, and the phone will only turn on when I plugged it in. Then again, it was rare occurrence since 10.3.3