just a temporary fix for me, the one that is causing the trouble is my graphics driver, by the way I am using a laptop, Asus k55vj model. What I did was I just tick all the hibernate and sleep options in the power options changing also the effect of pushing the power button/closing the lid...