There is provided electronic device, comprising: a receiving unit configured to receive heart rate data generated by a heart rate measuring system a calculation unit configured to calculate heart rate variation data on the basis of the received heart rate data. The electronic device further comprises: a processing unit configured to analyse the calculated heart rate variation data in comparison with the corresponding heart rate data, and to determine at least one threshold value for fat burning on the basis of the analysis.