A mobile communication device, such as a mobile telephone, may be equipped with sensors for monitoring acceleration, noise level, luminosity and humidity. During a learning phase in the operation of the device, data from the sensors may be stored and associated with particular time segments. Usage of the device is monitored during the learning phase and associated with the sensor data. If a pattern of usage is detected for certain sensor levels, a rule for future similar situations is recognized and stored by the device. In a usage phase, the stored rules are applied to change a user interface of the device when similar future situations are encountered. The learning and usage phases of the device may overlap.