If you're like me and use the S Pen often in short periods of time to take quick notes, you might find it bug out in some occasions and be met with "Disconnected", "No S Pen Detected", calibration issues and/or battery draining issues when it's both inserted and outside the phone.
Resetting the S Pen while its inside the phone will help temporarily and takes a good few minutes to do so. Restarting your phone helps as well.
Go to your S Pen settings, click the three dots in the right hand corner and select reset S Pen. 😀
Don't worry, I've sent this error report out a while ago and I think the devs have seen it now so yeah.
Thanks hope it helps 👍
BTW it's not defective. I hopped out of the beta and rejoined a while ago and everything was fully functional. This only occurrs in beta.