1. First click the power supply in the lower right corner of the computer, and then select more power supply options, as shown in the figure below.
2. Then click on the scheme you are using here and modify it later, as shown in the figure below.
3. Modify the time to turn off the monitor and the sleep time here.
4. After modification, save it. There are two schemes in it, one is when to use the battery, and the other is when to connect the power supply. Pay attention to the settings.
5. After setting, click Save to modify it, as shown in the figure below.