I have a acer laptop with a nvidia GeForce 920m Dedicated gpu, and it shuts down randomly mid work. It doesn't seem to shut off when I use my intergrated graphics card and the Dedicated GPU is updated. Here are logs from event viewer.
 
  <Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
  <Keywords>0x8000400000000002</Keywords>
  <TimeCreated SystemTime="2017-09-08T21:37:03.940506800Z" />
  <EventRecordID>12171</EventRecordID>
  <Execution ProcessID="4" ThreadID="8" />
  <Channel>System</Channel>
  <Computer>DESKTOP-SBN5462</Computer>
  <Security UserID="S-1-5-18" />
  </System>
  <Data Name="BugcheckCode">0</Data>
  <Data Name="BugcheckParameter1">0x0</Data>
  <Data Name="BugcheckParameter2">0x0</Data>
  <Data Name="BugcheckParameter3">0x0</Data>
  <Data Name="BugcheckParameter4">0x0</Data>
  <Data Name="SleepInProgress">0</Data>
  <Data Name="PowerButtonTimestamp">0</Data>
  <Data Name="BootAppStatus">0</Data>
  <Data Name="Checkpoint">0</Data>
  <Data Name="ConnectedStandbyInProgress">false</Data>
  <Data Name="SystemSleepTransitionsToOn">0</Data>
  <Data Name="CsEntryScenarioInstanceId">0</Data>
  <Data Name="BugcheckInfoFromEFI">true</Data>
  </EventData>
  </Event>