This is unsafe. Do not do this. The battery can explode if you don’t know what you are doing.
We found that often there is a small short in the battery. If we send a high current, short pulse into the battery there is a 50–50 chance the short will burn out and the battery will work until the next little piece flakes off. We do this with non rechargeable button batteries all the way up to car batteries. It’s one of the advantages of working in a lab with high power Agilent function generators and test chambers. For a quick test we charge the battery as best we can and then short across it for 100 ms. That can burn out a pin point internal current leak.
Once again. Do not do this. Got it?
.