1. A method for reducing an afterimage caused by ions accumulated in alignment layers of a liquid crystal display (LCD) in an electronic device, the method comprising: measuring a temperature of at least one part of the electronic device; determining a reverse bias voltage based at least in part on the measured temperature; applying the reverse bias voltage to a pair of electrodes to which the alignment layers are respectively attached, wherein the pair of electrodes are included in the LCD; and displaying, based on the determined reverse bias voltage, an image from which the afterimage is reduced.