The Gen 2 Apple Pencil is charged via a magnetic charger on the right side of the iPad. Gen 1 Apple Pencils must be charged by being plugged directly into the iPad's charging port.