SUMMARY When I put my notebook in sleep mode, if I move the wireless mouse or turn it off, it exits sleep mode and turns on as if it lifted the screen despite being lowered. It does not happen if, when the machine is in sleep mode, I plug in the mouse and move it. I already verified that everything was in settings in order for it to be suspended when the screen is lowered. STEPS TO REPRODUCE 1. Have the mouse ON and operative 2. Put Notebook in sleep mode 3. Move mouse or turn OFF OBSERVED RESULT I can see the lights of my screen going on EXPECTED RESULT Notebook keep sleeping SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.16.5 (available in About System) KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.62.0 Qt Version: 5.12.4 ADDITIONAL INFORMATION My machine is a Lenovo 100-15 IBD, and the wireless mouse is a Logitech M185 which comes with a keyboard (without battery, so, no play here)
Logitech M185 is a wireless mouse indeed, but I checked its produce page and it nowhere mentions the Bluetooth; it seems like it only supports a USB transceiver: https://wwwtest.logitech.com/en-us/products/mice/m185-wireless-mouse.910-002225.html > Connectivity > > Connection Type: 2.4 GHz wireless connection > Wireless range: 33 ft (10 m) > Connect / Power: Yes, on/off switch So, this bug report has nothing to do with Linux Bluetooth stack in general or Plasma/Bluedevil in particular. Devices connected via USB are generally allowed to wake the system up from sleep, unless you override that with some kernel parameters or by writing in /sys/class/something. I bet you'd still want the mouse to be able to wake your system up when you actually move or click it though. Waking up on disconnect sounds like a device issue, and only Lenovo could possibly fix that with an update to their transceiver's firmware (spoiler alert: they probably wouldn't care). In general, there are no strict rules which types of events should emit a "wake up" signal on USB bus, so all vendors and models of mice implement it in slightly different ways; it's just inconsistent and cursed.