Sometimes when my Mac is awake from sleep, lose trackpad/keyboard
Sometimes after I close my mac, and after few seconds (more then 10 sec), open it back to use it, it's take more then a minute to re-connect the track-pad and mouse.
I don't use any external device, only this one, and when I figure that it's not working, there is pop massage like this one:
MacBook Pro 13″, macOS 10.15