My Dewalt knockoff battery stopped charging. It would just flash on the charger.
Opening it up using 1 Torx-10 screwdriver, I discovered that the thermistor which checks the temperature of the battery had a broken connection.
I repaired this but this didn't last. During my second attempt at fixing the thermistor, I lost it. Bling... and it was done.
So I purchased the wiring harness from AliExpress (~$4 CAD) and soldered it in.
And Voila, all fixed!