Apple Pencil 2 disconnects immediately

I encounter the problem that when I connect my Apple Pencil to the iPad Pro 12.9" 2018, it disconnects immediately after removing it from the dock on the iPad. Does anybody else have this kind of problem? Thanks!

Replies

This is exactly what happened to me. It hasn't even been a month since I bought my iPad Pro 12.9 2018 along with the pencil and it doing that thing where it connects but only for a few seconds! I don't know what it is so I looked for answers on the internet and none seemed to really work and it's getting pretty annoying at this point.