This is a submission for the Hacktoberfest Open-Source AI Challenge: Week 3 , theme: Slow and Steady.
What I Built
Slothie is a sloth that lives in your Android phone. It works out the hours of the day when you are most likely to reach for the phone, tells you which apps are behind each one, and a few minutes before those hours it sends a nudge with a one-tap nap : Do Not Disturb, held for 30 or 60 minutes, released by itself.
The whole thing is built around one lazy idea: the phone already knows. Android keeps a log of which app was in front and when. Slothie reads that log on the device, slices it into a day-by-hour grid, and asks a simple question of each hour: on what share of days did you spend five or more minutes here? Rank by that chance times the usual minutes, skip the neighbours of a stronger hour, and you get your three risk hours .…