1. Click ‘Start’ or press the ‘Windows’ key
  2. Type ‘Power’, then click ‘Power Options
  3. Click ‘Change plan settings’ next to the active power profile. 

  4. Under ‘Plugged in’ & ‘Put the computer to sleep’, select ‘Never’, and click ‘Save Changes