1. A LED tube apparatus, comprising:an elongated lighting shell having a containing space;
a LED light source for emitting light passing through a shell surface of the elongated lighting shell;
a first power supply circuit for converting a converted power to a first driving current supplying to the LED light source;
a second power supply circuit for converting an external power to a second driving current to the LED light source;
a switch circuit connected to the first power supply and the second power supply for blocking one of the first power supply circuit and the second power supply to supply one of the first driving current and the second driving current to the LED light source according to an input frequency,
wherein the switch circuit blocks the received power into the first power supply circuit when the switch circuit determines that the input frequency is within a predetermined range, and
wherein the switch circuit further comprises a voltage switch for disabling working of the second power supply circuit.