How capacitors dissipate power
) - but the power will be dissipated continuously when your resistor is used over a live power supply''s capacitors (shock hazard from the voltage, burn and fire hazard from the large power dissipated by a relatively smallish resistor!). Here''s a discharge resistor I built for developing and fixing switching power supplies.