Here's a solution that's worked for me to bring back a half dozen batteries - but all in the same model of laptop - that appeared to be stuck at "0% - plugged in, charging". No doubt there can be more than one cause for this problem, and this method may not work for all.
This describes a...