Ps4 slim controller dead

So my controller has been dead for a while now and i don’t know what it wrong with it. It first started when I was charging it with my phone charger (I am not sure if I was using a fast charger or not). After some time of charging it it started to stop charging by itself and it wouldn’t charge tried to put it on the ps4s usb port but again it didn’t work. I removed the cable from the ps4 and then it started to charge by itself( the charging icon appeared). One day later it died. I sent it to a technician but he said it was a motherboard issue. I also changed the charging port just in case but nothing changed. I would appreciate some help. Thanks.

Also have a video but don’t know how to share it.