Was he interested or not interested since he didn’t ask for my number?

I went to the coffeeshop this evening. I was supposed to meet my friend, but she last min wasn’t able to make it anymore. I accidentally sat next to a cute guy and we talked throughout the whole time. He’s a full time student and working. He was on his iPad working on his homework. Later his iPad was about to die. He literally went around the coffeeshop asking if anyone has a charger. I wasn’t sure if he did that to stay with me longer because he could’ve just went home and charged it lol. He also made sure I knew he still enjoy talking to me and not ignoring me as he continue to work on homework. In his own words, he “wouldn’t continue talking to me if he didn’t want to or enjoy it.” I was quite shy, surprise, and flustered, so I didn’t say anything to it nor did I prompt him to reassured me. At the end, he told me he has work at 6AM tomorrow (which I knew) and now exhausted. So he’s gonna head home. He told me it was great meeting me and smiled at me. I told him the same thing. I waited for a couple secs and assumed he would asked for my number. But he didn’t… for some reason I hesitated and felt rejected already before asking to exchange contact… he left fairly quickly afterwards. I wasn’t sure if he was too exhausted in survivor mode or I didn’t show enough interest… or maybe he wasn’t interested after all? It was quite disappointing after having such a long talk getting to know each other at the coffeeshop. I also stayed longer because I enjoyed it too.
Was he interested or not interested since he didn’t ask for my number?
Post Opinion