Energy-Aware Hierarchical Control of Joint Velocities