Pencils are designed for writing and drawing. Their electrical characteristics are not specified, and so they should not be used to discharge capacitors.there are many resons why capacitors discharge. there can be a load on them for example an led,IC, motor, speaker, ETC. all draw current this can discharge a capacitor. or there may be a bleeder resistor conected in paralell to it. this will slowly discharge it when no power is applied. the biger the capacitor the longer it will take to discharge. phisical size as well as the capacitance make a diference. a 1 farad capacitor will provide power longer than a .01farad capacitor. they can hold charges for long times some even years. however i beleve they deteriate on holding time with age and use. this is why when working on divices you need to be carefull and discharge before touching. if you need to discharge you may use a screwdriver however i would not recomend it. the best way is to use a 100 watt light bulb to discharge it. i use a pencel sharpened on bothe ends and a clip lead the pencil acts as a many K ohm resistor makes small spark and it is dead.