USB mouse powers down way too soon

Hi, I followed the guide on increasing battery life on a laptop but it makes my mouse stop dead if I leave it unmoved for longer then one second, I’d like to increase this to about 30 seconds.

Thanks

Which guide are you referring to?

This guide might be useful to you

https://wiki.archlinux.org/index.php/Power_saving#USB_autosuspend

It should be possible to create a udev rule to delay autosupend for a specific device eg /etc/udev/rules.d/50-usb_power_save.rules
using something like

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="aaaa", ATTR{idProduct}=="bbbb", ATTR{power/autosuspend_delay_ms}="10000"

*Replace ‘aaaa’ and ‘bbbb’ with the relaevent vendor and product ID as reported by ‘lsusb’.

The autosuspend time can apparently be extended (globally) as shown in that page I linked to by creating /etc/modprobe.d/usb-autosuspend.conf
with the following option

options usbcore autosuspend=5