On Windows 11:
-
Select Start > Settings > System > Power & battery > Screen and sleep. For On battery power, put my device to sleep after, choose a shorter duration.
On Windows 10:
-
Select the Start > Settings > System > Power & sleep . Under On battery power, PC goes to sleep after, choose a shorter duration.