On a mobile form factor system, Device-S4 may be applied unexpectedly while the system is using AC power, such as a power adapter or charging dock. This behavior may result in unwanted side effects such as dropped/reset network connections and the need for users to reauthenticate.
The fix for this issue was first included in Windows 10, version 1903. For more information, see the following article in the Microsoft Knowledge Base:
4497935 May 29, 2019—KB4497935 (OS Build 18362.145)
For more information about Device-S4, see the Directed power management topic on the Microsoft Docs website.