I'm on 22.04. I just added a bluetooth mouse which works nicely, except after a long enough idle it disconnects. I can reconnect it by bringing up the settings/bluetooth gui but thats a little awkward especially without the mouse. I don't really know how long it takes to disconnect on idle. It only does it when I'm away from the computer for quite some time.
How can I either keep it from idling out, or at least getting it reconnected with a shell command.
This is a generic $10 mouse.