Tech start-up Ginger.io is developing tools that harness the sensors in a smartphone to detect changes in behaviours. If early warning signs of depression are detected, for example, the app can then send a message to your doctor to warn them.