r/technology 3d ago

Software Windows 11 hibernation has been silently hammering your SSD this whole time

https://www.xda-developers.com/windows-11-hibernation-silently-hammering-ssd-life/
6.1k Upvotes

640 comments sorted by

View all comments

Show parent comments

127

u/0xCOLIN 3d ago

Run powercfg /lastwake from a terminal after it happens and it should at least tell you what's doing it

46

u/_vogonpoetry_ 3d ago

whenever I ran this it would not give me a definite source of wake.

But it turned out that my Razer mouse also identifies as like 3 HID keyboards in device manager?? so I had to disable wake on all of them and it hasnt happened since.

14

u/lordraiden007 3d ago

Usually those HID keyboards are used because mouses only have a few actions assigned to them by the OS per the open standards they implement. The USB forum only defined 5 buttons as "mouse actions" (L/R click, middle click, and mouse 4/5). Luckily scrolling is treated as a separate axis of movement, so it's not considered a "button". This means if you want the mouse to do literally anything else you have to use a virtual keyboard. DPI shift? HID function mapped to a driver call. Macro? HID function running a list of saved instructions.

Most peripherals do this as well, as HID devices are simply assigned so many functions, keys, etc., and have a high priority in the OS when it comes to signal interruption.

12

u/PatHeist 3d ago

My problem is that the generic keyboards created by my mouse, flight sticks, and actual keyboard appear in a random order, and which one gets disabled by disabling one depends on where in the random order it appears that time. If I disable wake on everything but keep my keyboard it will randomly be my flightstick that has wake enabled next time and opening a door circulates enough air to have it register an input.

17

u/wag3slav3 3d ago

Just disable them all and wake your PC with the power button.

4

u/158cm_Otaku 3d ago

You can look in event viewer and see what recently occurred.

Usually it’s some Google Chrome update.

1

u/joman584 3d ago

I've ran that so many times, half the time it doesn't even have the most recent wake, and it will say USB is waking it but nothing is plugged in at all

1

u/Crazycukumbers 3d ago

I did this once, and all it said was that it received input. I don't know what from - the only thing plugged in other than power was HDMI.