They don't stop the battery from charging.
But they can stop machines from coming on or coming on and going right off.
My background is electronics design and along the way making cards that go into PCs so repair is second nature. But I need more clues than the above. I've seen the symptoms but the causes are far too many to write here.
About batteries. How old? These are 300 cycle things so any battery past a year can be suspect if the owner used it daily on battery and charged it at night. That's just one scenario but without age and story I can't narrow it down.