hang about vs while away

hang about

verb
  • Especially in the form to hang about with (someone): to spend time or be friends with. 

  • To linger, loiter, or stay. 

intj
  • wait a minute; hold on 

while away

verb
  • To spend (time) idly but pleasantly 

  • To elapse, to pass. 

How often have the words hang about and while away occurred in a corpus of books? (source: Google Ngram Viewer )