I had the exact same issue with my Msi GF65 Thin 9SEXR - it would only run plugged in.
If you decide to replace the battery, DOUBLE CHECK the model number! I originally ordered a BTY-M6J (which looks identical) only to discover my laptop actually required a BTY-M6K. The connectors are slightly...