Self-powered dynamical systems