For the mouse, you can see if power management for the USB ports is enabled to let the system shut them off to save power. In Device Manager "Universal Serial Bus Controllers".