Patent ID: 9639117
Date: 2017-05-02
CPC Classifications: G06F

Claim:
1. An electronic device having an expansion interface, the electronic device comprising: a shell defining a through hole; a button movably received in the through hole, the button comprising a first electroluminescent portion and a second electroluminescent portion; a circuit board; a switch electrically connected to the circuit board and configured to be activated by the button, wherein the switch controls whether to transmit a same voltage to the first electroluminescent portion and a second electroluminescent portion to drive them to emit light of equal brightness; and a voltage adjusting unit configured to change the voltage transmitted to the second electroluminescent portion to drive the second electroluminescent portion to emit light having a different brightness from the light emitted from the first electroluminescent portion when an expansion device is successfully connected to the expansion interface.