So i had a battery from ifixit lying around for a few weeks and but it back in my phone.
At first it did work, but suddenly it died at 50% or so and, i try to charge it. But after like an hour the phone still displays the battery is charging symbol. (That battery was almost new, but according to the manufacturing date it was manufactured 2020).