As @anki suggested, I can find out what time I stopped using my phone by checking battery level history:

[![screenshot of battery level history][1]][1]

Yesterday I didn't use my phone after 10 PM.

  [1]: https://i.sstatic.net/WXG7n.jpg

The activity graph is completely readable.