A method for providing an ambient temperature of the environment surrounding user equipment, such as a mobile phone, having components including a housing and a battery, comprising the step of: measuring the temperature of at least one point in the user equipment; and measuring the ambient temperature of the environment surrounding the user equipment based on a relationship defined by a change in