Chosen Solution

I replaced my aunts phone battery but after a while the battery will disconnect to the port and it’ll say “ 0% remaining” and stay at 1%. I tried looking at it again and now the phone won’t turn on and the battery just won’t connect all together.

If you are talking about the battery connector it is a common problem on the iPhone 8 I usually end up replacing it but for other people who suffer this after a battery replacement you might be able to manipulate the connector on the logic board with a pair of tweezers so as it fits in nice and firm.