Welcome to the forums, newcomer!
If the laptop is connected to the wall and exhibits the issue you've stated above, might want to remove the rams from your laptop and then the internal battery. Disconnect from the wall, press and hold down the power button for 30 seconds and then reseat the ram and then plug to the wall(not the internal battery). See if the issue persists. Do you see any flashing LED's on the keyboard?