I connect my Android phone to my PC via USB cable, and it seems like it stops charging after some time when I am away. After I come back and touch the mouse the charging resumes.
There is no sleep/hibernation, only screens turn off. Some time ago it was working fine, in the same port (also tried another port, and another cable). PopOS 21.04.
cat /sys/module/usbcore/parameters/autosuspend is
usbcore.autosuspend=-1 to boot params via
The PC is definitely not sleeping, there are
journalctl logs during that time.
journalctl · GitHub