A new app designed to track a person's mood throughout the day could turn your smartphone into a pocket therapist, researchers claim.
The free app takes advantage of the fact phones are increasingly capable of collecting information about where we are, how noisy our environment is, how much we are moving around and who we communicate with.
It will invisibly monitor data such as a user's calling and texting patterns to track their conversations and work out how they are feeling.
Using the phone's built-in global positioning system, accelerometer and microphone, it will develop a pattern of that person's habits, activities and routines.
Dr Neal Lathia, who works on the project, said: "Behind the scenes, smartphones are constantly collecting data that can turn them into a key medical and psychological tool.
"Any smartphone now comes with numerous sensors that can tell you about aspects of your life, like how active you are, or how sociable you have been in the past 24 hours.
"In the long term, we hope to be able to extract that data so that, for example, it can be used for therapeutic purposes."
The app's designers hope they can collect a precise record of what drives people's emotional peaks, showing, for example, when they are likely to be at their most stressed.
It is part of a research project looking at how far smartphones can go in recording mood in the real world. Eventually this could see phones being routinely used to monitor people's behaviour and change it for the better to improve health and well-being.