tl;dr : I want to get the screen on time for today, yesterday, or any past date.
I can't seem to find how I can get stats related to the screen on time of the device in my app on Android. I have come across the UsageStats API but that returns the usage stats for different apps.
I know that it can be done for any android device (maybe from a specific version of android) because there is an App called ActionDash which has this feature. Can someone please tell me how?