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, from a plurality of applications running on the data processing device, respective indications that one or more sensors other than the particular sensor are associated with respective user inputs for the plurality of applications; responsive to receiving the respective indications from the plurality of applications, 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 plurality of applications; determining, based on sensing information collected from the one or more sensors, a characteristic of a user input for an application of the plurality of applications; learning characteristics of the user input while the application is running; determining, based on the learned characteristics, one or more specific minimum values pertaining to measurements indicated by the one or more sensors; determining a specific characteristic of the user input for the application based on the determined one or more specific minimum values; refraining from entering a sleep mode if the characteristic of the user input matches a characteristic condition specified by the application, wherein the characteristic condition is based on the determined specific characteristic of the user input; and allowing entering the sleep mode if the characteristic of the user input does not match the characteristic condition for a specific timeout period specified by the application.