Linux definitely does this. What different DEs do with it is sometimes suspect. But BT keyboard definitely wakes my GNOME environment, while it does not stay connected to my headphones.
I can't say with 100% certainty, but I'm highly confident that GP is mocking Apple's implementation. HID has been a standard for a long time and is already widely available on every platform.
Oh, I am absolutely 100% mocking Apple's implementation. I have a house full of Apple gear, but that doesn't prevent me from shaking my head from time to time when I come across boneheaded stuff like this.
I wish I could turn this off. I keep bumping the mouse and waking my desktop which then takes a while to suspend again. But for some reason it’s not configurable.