Chosen Solution

So when i put my charger in my controllers for about a couple minutes/hours . After i unplug my ps4 controller, its dies

Sounds familiar. So, if the cable is in, it all works ? And after you plug it out, it dies immediately right ? If yes, you need to replace the battery. Guide how to replace the battery: DualShock 4 CHU-ZCT2U Battery Case Replacement