Right side
贯 supplies the sound - exact guàn. It doubles as semantic:
贯 pictures coins strung on a cord, the sense 'thread through, run continuously.' With the heart radical,
惯 reads as 'the mind running along its accustomed thread' - habit, doing what comes habitually.