ok so i found the events,and i dont rly understand these things,so i hope u can look at them i will paste them in order
1.The process C:\Windows\System32\RuntimeBroker.exe (DESKTOP-KFSCE6F) has initiated the power off of computer DESKTOP-KFSCE6F on behalf of user DESKTOP-KFSCE6F\Petar for the following reason: Other (Unplanned)
Reason Code: 0x0
Shutdown Type: power off
Comment:
(this is me turning it off)
2.User Logoff Notification for Customer Experience Improvement Program
3.User-mode process attempted to change the system state by calling SetSuspendState or SetSystemPowerState APIs.
4.The system is entering sleep.
Sleep Reason: Application API
5.The system has resumed from sleep.(this is were it turned on alone)