Yes '''I would suspect the DC-in board''', as long as you know there has been no liquid spilled in the machine. ''(Be certain you've cleaned the connector points, pad at the laptop, corrosion or debris there might also interfere.)'' If there's been a liquid spill in the past it might be the connector(s) or portion(s) of the logic board that connects to the battery. Opening the unit will show if there's residue or corrosion of the components.
''If this answer was helpful'' '''please remember to mark it accepted'''.