Friction and energy conversion