If your laptop is plugged in and not charging, then the battery might be the culprit. Remove the battery and see if you find any problems with it.