Israeli-US startup Hour25.ai has developed an app that learns and monitors a user’s activity patterns and gives an alert whenever it detects inactivity, fatigue or distraction. It then suggests a personalized intervention, e.g., take a walk, or perform an optional exercise.
https://www.israel21c.org/how-to-improve-waning-focus-at-work-and-school/