noun
killing time; passing time
Neutral or positive nuance: doing something enjoyable or useful to fill spare time.
電車の中でスマホゲームをして暇つぶしをした。
I killed time playing a smartphone game on the train.
暇つぶしに散歩でもしようか。
Shall we go for a walk to pass the time?
noun
wasting time; time-waster
Negative nuance: doing something pointless or unproductive; often used critically.
そんな会議はただの暇つぶしだ。
That kind of meeting is just a waste of time.
暇つぶしにネットを見ていたら、もう夜中だ。
I was just wasting time browsing the internet, and now it's already midnight.