The built-in battery will shut down after unplugging the power supply
Please do make sure that the battery is well seated in the laptop. Remove the battery first for couple of seconds the unplug the AC adapter as well then press and hold the power button for 20 seconds then put everything back together and see if it will work with just the battery connected.