Recently I reinstalled windows 10 on my Asus K46CB from scratch and for some reason, every time i put it to sleep it turns itself off after a few hours. It just happens if i leave it sleeping without the AC adapter but i don't think it has nothing to do with the battery since it is almost full whenever i turn it on again and still usable for at least 1 hour. Also: it never happens when it is turned on, but it ALWAYS happen after a few hours sleeping.
I checked events log but there is any clue there whatsoever. There's not even a log on "Windows Events > System" about turning off.
It also does not show any message after this, or do any event like a Chkdsk. The startup is regular as it always is.
It might be worthing noting that i'm using a 250gb SSD as C drive (to store windows, programs and ubuntu) and a caddy with HDD on the optical drive. I've been using this for over 2 years and never had this kind of problem before.
Also, i got a dual-boot with ubuntu on this PC (booting via GRUB). I can't tell wether this issue appeared after installing ubuntu or after reinstalling windows since they were both done at the same time.
Any help? Thanks
EDIT: I just realized that there are critical events saying that "The system has been restarted wihtout proper shutdown. This issue might be caused due to sudden lack of energy, when the system stops answering or freezes." (Kernel power-event 41). I have translated it so it might be a little bit different than the original message shown in english versions of windows.
SOLUITON:By going to the area otto wang suggested below, you can find inside the "Sleep" option the field "hibernate after". In my case, it was set to 120 minutes, leading the PC to crash after this time while sleeping. Just deactivated it and it stopped happening. Hope it works for whoever have this problem as well