Hello there,
From your description, it seems like a Power configuration settings disabling the internet connection.
Is another device on the same network facing this issue?
Your modem and router need regular firmware updates to function properly with your ISP. If your equipment is running on outdated firmware, your internet may periodically disconnect due to glitches or registration issues.
Microsoft has introduced a number of ways to reduce power usage in an attempt to increase the battery life of devices.
One of these options includes the ability to automatically disable various hardware when power usage hits a specific amount on your computer. It’s possible that this feature is turning your Internet off, causing your computer to frequently disconnect from the network.
Drivers are important components to have as they take care of the functionality of your connected hardware and much more. If your drivers are outdated or damaged, they won’t function as intended, causing problems.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–