1. A method for detecting a context of a mobile device equipped with sensors and a context detection module in which the sensors are assigned to at least two groups, each of which comprises at least one sensor, and each group is allocated a group classifier adapted to detect, in a form of a classification result, currently identified, by means of a given classifier, context of the device based on indications of the sensors belonging to the given group, wherein the groups of sensors are ordered hierarchically, characterized in that with a use of the context detection module, the classification result is indicated as either positive or negative, wherein the positive classification result indicates that the identified context occurs and the negative classification results indicates that the identified context does not occur; the device context is detected by reading classification results indicated by classifiers, wherein the classification is started from the classifier of the group of the lowest level, wherein each time when the classification result indicated by the classifier is positive or when the classification result indicated by the classifier is negative for a plurality of times in a row, switching on power supply of the sensors and activating classification by the classifier allocated to a group with a level higher by one level and reading the context indicated by said group's classifier; and based on the results of the classification indicated by the higher groups' classifiers, executing adaptation of the configuration of lower groups' classifiers.