Apple gives you a few different ways to see how much charge is left ... works with the second-generation Apple Pencil. If you have the Apple Pencil 2, all you need to do is attach it magnetically ...
but the original Apple Pencil still uses a "male" Lightning connector to pair and charge. You need to physically plug the stylus into the iPad, otherwise you'll get no charging and no connection.