1. A method for detecting a context of a mobile device equipped with sensors and a context detection module comprising: assigning the sensors to at least two groups, each of which comprises at least one sensor, allocating to each group 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 assigned levels according to a hierarchy that determines the order of switching on the groups of sensors during context detection; using the context detection module to: indicate the classification result 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; detect the device context by reading classification results indicated by classifiers, wherein the classification is started from the classifier of the group of the lowest level in the hierarchy, 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 a power supply of the sensors and activating classification by the classifier allocated to a group with a level higher by one level in the hierarchy 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.