Lenovo T495 - USB not working properly on battery

Hi,

As per the subject, I’ve noticed on my lenovo T495 that USB devices are not detected whilst on battery power. I add mains and it works fine. I’ve checked the bios and USB is enabled at all times…

Any ideas please?

Thanks

I have set the following in /etc/tlp.conf

USB_AUTOSUSPEND=0

Rebooted and still the same problem…

Thanks

On the T495 this is indeed down to TLP, disabling TLP completely and rebooting caused USB devices to work on battery alone.
For me the fix was to run lspci and find the AMD USB controllers.

06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1

Then add them to the RUNTIME_PM_BLACKLIST in /etc/tlp.conf

RUNTIME_PM_BLACKLIST=“06:00.3 06:00.4”

Reboot - USB works on battery whilst TLP is still functional.