Guys I have found a solution.
So it just happend to me randomly yesterday and the power menu came up out of no where (it's that menu where you hold the power button and it says shutdown/power off, restart, airplane mode) and I clicked the back button, and a few seconds later it shut off itself...