So I disassembled my HP laptop and replaced the CPU, only to find out that the new CPU I bought was not supported by my motherboard, I took the laptop apart again and put the old CPU in. After the old CPU had been put back in I started the laptop and it was working fine, I was using it for atleast half an hour until the battery needed charging, I plugged in my charger but the computer didn't charge and nothing came up on the taskbar to say it was charging. The laptop has now gone completely dead and I can't charge it. I know I havent damaged the HDD, RAM, or CPU because I had it working fine before the battery died. I have taken it apart to check everything is connected how it should be twice, it is all exactly how it should be.
The charger and bettery were working fine before I first took the computer apart. Have I damaged something else or is there a way of fixing it? Thanks