Switch walking, running to save energy