Researchers are studying digital phenotyping, an emerging technology that analyses smartphone behaviour to identify early signs of depression and anxiety. Experts believe it could improve early mental healthcare while maintaining privacy and informed consent.