1. A method, comprising: in a data processing device having a sleep mode control configuration based on at least input related to a particular sensor: receiving an indication, transmitted from an application running on the data processing device to an operating system (OS) of the data processing device, that one or more sensors other than the particular sensor are associated with user input for the application, wherein receiving the indication comprises receiving a characteristic condition specified by the application for the user input associated with the one or more sensors; responsive to receiving the indication from the application, modifying the sleep mode control configuration such that the sleep mode control configuration is based on at least input related to the one or more sensors indicated by the application; determining, based on sensing information collected from the one or more sensors, a characteristic of the user input for the application; refraining from entering a sleep mode based on at least the characteristic of the user input matching the characteristic condition specified by the application; and allowing entering the sleep mode based on at least the characteristic of the user input not matching the characteristic condition for a specific timeout period specified by the application.