Recently, I have updated the version of Windows. After that, the system has randomly slept with the following error:
Log Name: System
Source: Microsoft-Windows-Kernel-Power
Date: 22.04.2019 13:37:13
Event ID: 42
Task Category: (64)
Level: Information
Keywords: (1024),(4)
User: N/A
Computer: LAPTOP-8MHTIDTG
Description:
The system is entering sleep.
Sleep Reason: Battery
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331c3b3a-2005-44c2-ac5e-77220c37d6b4}" />
<EventID>42</EventID>
<Version>3</Version>
<Level>4</Level>
<Task>64</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000404</Keywords>
<TimeCreated SystemTime="2019-04-22T11:37:13.321897700Z" />
<EventRecordID>1132</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="17748" />
<Channel>System</Channel>
<Computer>LAPTOP-8MHTIDTG</Computer>
<Security />
</System>
<EventData>
<Data Name="TargetState">5</Data>
<Data Name="EffectiveState">5</Data>
<Data Name="Reason">2</Data>
<Data Name="Flags">0</Data>
<Data Name="TransitionsToOn">30</Data>
</EventData>
</Event>
In the PlanPower I have disabled everything that relates to sleep.

Would you like to tell me, what is the reason?