Re:Do not leave XPS laptop in any sleep/hibernate/standby mo...
by deschutes on Friday September 24, 2021 @11:47AM
(#28644023)
powercfg /lastwake will tell you why the machine woke up.
Honestly I'm not sure where else you can find that information.
Re:Do not leave XPS laptop in any sleep/hibernate/standby mo...
by Dayshine on Friday September 24, 2021 @01:35PM
(#28645483)
Generally it doesn't actually tell you why.
lastwake will be blank and the power report will just tell you it changed state but give no reason.
Re:Do not leave XPS laptop in any sleep/hibernate/standby mo...
by chihuahua on Friday September 24, 2021 @04:23PM
(#28647371)
I found the same thing when I was trying to figure out why an Intel NUC7i5 keeps waking up for no reason.
One would hope that powercfg /lastwake provides some information, but it doesn't.
There is a big difference between how Window should work in theory and what happens in practice.
Mine will wake the screen and make "device connected" and "device disconnected" sounds while the computer isn't sleeping, regularly. Besides being annoying (I eventually disabled those specific sounds), it probably meaningfully hurts the lifespan of my monitors to power cycle them every five freakin' minutes.
I've never been able to figure out what exactly is happening here, trawling through event logs and such (I'm no Windows guru nor do I want to be).
At this point, in my particular case, Linux actually feels more "hardware compatible" than Windows. It can keep the monitors off.
I really wish Windows was good enough to not raise my blood with things like this, because sometimes you just need to use it.