Interesting, i have similar problem. My laptop functions normally on battery, but if plugged it wont charge or turn on, same as yours. If I remove battery and only plug it on charger, laptop works with out any issues. Battery is not the problem, because I bought a new one, and laptop still has same issue. It works with with out a problem on charger with out batter, and has no issues working with only battery, but it cant work when put on charger and battery inside.
I use latest XMP bios and EC. Tried other BIOS and oder EC, but problems remains.