I did not mention removing the battery to switch it off when it has hung up.
My comments were to reinsert the battery whilst the laptop is running, If this is a chinese or Japanese cloned battery (you can't always tell by looking at them) the laptop will not read the circuitry, hence not show as charging, plugging in the battery whilst the laptop is on allows it to charge, plus the laptop then (sometimes) reads the board inside the battery,,,, especially if it is a newer model of laptop, cameras have similar circuitry.
In 24 years as a computer engineer I can count on one hand the laptops that will not run on the power supply alone.
A lot of people only have 1 machine of the same model, so can't test the batteries that way, or have multimeters to test power supplies.
The method I gave should show where the fault lies, after that the member can come back and further instructions given about testing.
Hope this clarifies my last post.
Cheers Shewy