Macbook Pro 15 inch mid 2010 2.4 GHz i5 motherboard working with battery issue

Macbook Pro 15 inch Mid 2010 2.4 GHz i5 motherboard working fine on mains supply this is a great motherboard working fine on HIgh Serria,but when the battery was installed back into the machine it started playing up, won't boot, tried another battery and the same thing happened, but take out the battery it's working fine, but can't sell this in a machine that works on mains only.

eBay