Chosen Solution

my phone shows charging notification when connected to a charger but the batery runs out and the phone turns off. i have replaced the battery but the problem is still there.

Hi! Have you tried using another charging cable and/ or power brick?

The charging port on the motherboard needs to be replaced