Laptop won’t turn on if the battery is attached

Registration date
Sunday October 22, 2017
Last seen
October 22, 2017
Hello there !

I have a Dell Inspiron N5010 and I am facing a very strange issue and it’s very frustrating.

My laptop doesn’t turn on if battery is attached. To switch on , I have to remove battery, connect AC adapter then press power key. Once it’s on, I put back the battery and laptop works as normal(even when I remove the power cable it runs on battery fine).
I see the battery is getting charged and discharged. Only problem is during startup.

I got it checked in PC repair centre but no luck.

Any ideas guys ?