My team (Microsoft Band) discovered the reason why the surface's keyboard sometimes wouldn't work when connected. There was a hardware bug in the cortex MCU the keyboard used involving waking from deep sleep. One of our FW engineers spent several months figuring it out and eventually reported it to the manufacturer, and to the Surface team. IIRC it was something about wake on interrupt in a specific deep sleep mode and also something around timing.

It was a rather nasty bug. Firmware is full of nightmare scenarios like that.

ah the enshitification of the pc. we are well into it. M$ started it with the "Modern Standby" / s2-idle terrible idea.

Respectfully, no, not even a little bit. That’s normal everyday microcontrollers for you.

You clearly have never tried to implement sleep on a microcontroller. It has nothing at all to do with ACPI. And this kind of eldritch bug is par for the course. It has nothing at all to do with Microsoft or PCs at all. Microcontroller sleep just sucks in a lot of incredibly weird ways.