How long have you had this laptop for? Can you think of anything that happened BEFORE your laptop shit itself that could have damaged it somehow? Have you checked for any malicious software or just useless software running in the background?
Try to fix it before replacing it, it's the cheaper alternative. Chances are you can fix your laptop if you spent a few hours on it and save yourself half a grand. If push comes to shove you can always factory reset your laptop and if it isn't a hardware issue that will fix it.