You would need to test the charger, the charging port, where the charging port connects to the motherboard, etc. For starters.
That is the more simple testing though. Testing to see where the power stops, or if it even gets past the charger, the port, etc.
After that it gets more complicated.