Chosen Solution

I got a new battery replaced on my iphone 6 Then I got back home and put the phone to charge then it charged up to 76% then I removed the charger. Then I used it till it died (till it came to 0%) It was night then I plugged my phone to the charger and slept I heard the sound of the charging which comes from the phone once you plug it Then I left the phone to charge and then got up in the morning and my phone was dead I tried putting it back on charge it didn’t work. The Apple logo doesn’t even appear. Was it the battery that caused this error? Please answer quickly

When charging circuit is damaged it might not charge the battery when it gets drained, that would be a logic board issue caused by aftermarket cables and chargers and would require microsoldering skills and tools. Try your old battery if you still have it or try another one for confirmation.