A heart pacemaker according to the present invention includes a generator configured to generate nonlinear electrical energy using a friction element and an energy harvester configured to sequentially store the generated nonlinear electrical energy in multi-stage multiple energy storages and supply the electrical energy stored in the multiple energy storages.