Yes that is correct the pendulum inside is constantly under the force of gravity which in turn keeps it in motion by gathering kinetic energy as it swings back and fourth.