Is power supply a necessary technical feature in the patent claim of electricity?

Power supply is usually not necessary.

technical characteristics

The technical feature of a patent is the difference between your technology and conventional technology, and the part with the same principle is not a patent.

If your device doesn't need power, other people's devices with the same function need power. "No power supply" can be a feature of your patent.