Researchers have built the first smartphone app that automatically reveals college students’ mental health, academic performance and behavioral trends. In other words, your smartphone knows your state of mind — even if you don’t — and how that affects you. The StudentLife app, which compares students’ happiness, stress, depression and loneliness to their academic performance, also may be used in the general population — for example, to monitor mental health, trigger intervention and improve productivity in workplace employees.