Energy supply plays a key role in metabolism and signal transmission of biological individuals, neurons in a complex electromagnetic environment must be accompanied by the absorption and release of energy. In this paper, the discharge mode and the Hamiltonian energy are investigated within the Izhikevich neuronal model driven by external signals in the presence of electromagnetic induction. It is found that multiple electrical activity modes can be observed by changing external stimulus, and the Hamiltonian energy is more dependent on the discharge mode. In particular, there is a distinct shif...