To prevent the computer and screen from sleeping automatically:

  1. Open Settings.

  2. Click on System.

  3. Click the Power & battery tab.

  4. Under the “Power” section, click the “Screen and sleep” setting.

  5. Choose the Never option to prevent the screen from turning off.

    Disable sleep times

  6. Choose the Never option to prevent the computer from going to sleep.

After completing the steps, the computer will stop automatically entering sleep mode, even if you are not actively working on the device.