the pen Itself has a small curcit board that interacts with coils underneath the screen .These coils create a sort of electro Magnetic feild that recognize and power the circut board within the pen. Although this is a very Summarized explanation, I hope it gives you a general understanding.