Notebook wakes up after disconnecting mouse

My Win7 notebook wakes up from sleep after disconnecting mouse. It is very annoying since I usually disconnect the mouse when I want to put it in the bag and leave. Vista behaves in the same manner. How can I change this behaviour?


Solution 1:

Control Panel-> (window/startmenu -> control panel)
Mouse-> (icon)
Hardware-> (tab)
Properties-> (button)
Change Setting-> (button:vista/win 7 only)
PowerManagement-> (tab)
Allow this device to bring the computer out of standby (checkbox)