It's not only powering the ram, cpu is still doing stuff. Windows has
this thing called modern standby also known as S0 sleep. All windows
laptops have it and when you put the laptop in sleep, it enters a "low
power stage". Depending on being connected to the charger or not, it
will go in S0 network connected or S0 network disconnected. With
network connected it can download updates and stuff, receive VoIP
calls etc. Also modern standby S0 is what makes that instant wakeup
from sleep possible. Your laptop is probably doing something in the
background when you checked like getting updates.
The old sleep state that has only ram active is called S3 sleep. Most
laptops don't even support it in their firmware anymore (Asus is one
of the few that still does) but you need to do some work in windows if
you want it instead of S0.
from the comment https://www.reddit.com/r/ASUSROG/comments/1cpgtrd/comment/l3lhdhl/
And the solution I have tried to disable S0 mode:
reg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0
(in Terminal with admin rights of course)
I rebooted the laptop (mandatory to make changes) and it seems changed the mode to S3:
The following sleep states are available on this system:
Standby (S3)
Hibernate
Fast Startup
The following sleep states are not available on this system:
Standby (S1)
The system firmware does not support this standby state.
Standby (S2)
The system firmware does not support this standby state.
Standby (S0 Low Power Idle)
The system firmware does not support this standby state.
Hybrid Sleep
The hypervisor does not support this standby state.
p.s. if for someone it won't work, use reg delete "HKLM\System\CurrentControlSet\Control\Power" /v PlatformAoAcOverride /f
to undo changes
Sleep mode options didn't disappear after this as it was happening for some other laptop owners (I believe their firmware didn't support S3)
And it actually works fine, so RAM, USB hub with separated power supply connected, and a external monitor in idle mode only use 0.5 W now:
Update:
Though it works but only if I put the laptop to sleep manually using "Right click on Windows/Shut down or sign out/Sleep", in all other cases like automatic Windows timeout sleep, power button on the laptop or "ALT+F4 / Sleep" make the laptop sleep and instantly wakes it up for some reason. Why does it work differently? Is there any solution?
Update 2 SOLVED:
I found the reason why laptop automatically wakes up right after it goes to the sleep mode (in cases like automatic Windows timeout sleep, power button on the laptop or "ALT+F4 / Sleep") - external usb keyboard was causing it, though external usb mouse works fine and doesn't cause this issue, so I just disabled the option in power management of the external keyboard to wake the laptop, but I can still use a mouse or built-in laptop keyboard anyway to wake it up. So now it works in all cases! So weird... when I previously "Right click on Windows/Shut down or sign out/Sleep" it wasn't the issue for automatic awakening :)
powercfg /a
command (Windows)