Many smart electronic devices like smart phones or personal computers can be configured with a pencil, which is used for performing touching operations on a touch panel. However, cannot usually be conveniently kept on the electronic device.