A method for cooling an electronic device (300; 400), the electronic device (300; 400) comprising a first portion (302; 402) and a second portion (304; 404), the first portion (302; 402) comprising a first display (308; 412) and a first chassis (310; 414), the second portion (304; 404) comprising a second display (312; 416) and a second chassis (314; 418), the first portion (302; 402) and the second portion (304; 404) being rotatable relative to each other such that the electronic device (300; 400) can be configured both in a first state in which the first chassis (310; 414) does not abut the second chassis (314; 418) and a second state in which the first chassis (310; 414) abuts the second chassis (314; 418), and the electronic device (300; 400) comprising a state sensor (322b, 334; 428) configured to detect that the electronic device (300; 400) is configured in the first state or the second state, the method comprising: measuring, by a first sensor (322a; 430)), a first temperature at a first location within or on the electronic device (300; 400) continuously or intermittently, the first location being at or adjacent to an outer surface of the first display (308; 412) or the second display (312; 416); measuring, by a second sensor (322a; 430), a second temperature at a second location within or on the electronic device (300;400) continuously or intermittently, the second location being at or adjacent to an outer surface of the first chassis (310; 414) or the second chassis (314; 418); identifying (106, 110), by a processor, the first state of the electronic device (300; 400) or the second state of the electronic device (300; 400); controlling, by the processor, operation of the electronic device (300; 400) based on the first measured temperature and the second measured temperature when the electronic device (300; 400) is in the identified first state; and controlling, by the processor, the operation of the electronic device (300; 400) based on the first measured temperature but not based on the second measured temperature when the electronic device (300; 400) is in the identified second state. measuring, by a first sensor (322a; 430)), a first temperature at a first location within or on the electronic device (300; 400) continuously or intermittently, the first location being at or adjacent to an outer surface of the first display (308; 412) or the second display (312; 416); measuring, by a second sensor (322a; 430), a second temperature at a second location within or on the electronic device (300;400) continuously or intermittently, the second location being at or adjacent to an outer surface of the first chassis (310; 414) or the second chassis (314; 418); identifying (106, 110), by a processor, the first state of the electronic device (300; 400) or the second state of the electronic device (300; 400); controlling, by the processor, operation of the electronic device (300; 400) based on the first measured temperature and the second measured temperature when the electronic device (300; 400) is in the identified first state; and controlling, by the processor, the operation of the electronic device (300; 400) based on the first measured temperature but not based on the second measured temperature when the electronic device (300; 400) is in the identified second state.