A method for managing data backup operation of an electronic device by a backup power supply system (BPS) comprising a DC/DC converter (DC) having a main power input and a power output, a boost converter (BC) having a power input and a power output, a thermoelectric generator (TEG) associated with a chip and electrically connected to the power input of the Boost converter, wherein the thermoelectric generator is able to heat or cool the chip, and a microcontroller (MCT) electrically connected to the power outputs of the DC/DC converter (DC) and the Boost converter (BC) and electrically connected to a set of components (SC) able to perform data backup operation of the electronic device, the method comprising: determining (S1), by the microcontroller (MCT), an electrical energy required to perform data backup operation by the set of components, computing (S2), by the microcontroller (MCT), from the determined electrical energy a temperature deviation to reach by the thermoelectric generator (TEG), wherein the temperature deviation is the difference between the temperature inside the chip and the ambient temperature of the chip, commanding (S3), by the microcontroller (MCT), the regulation of the temperature inside the chip by the thermoelectric generator to reach the temperature deviation, supplying (S4) electrical energy, by the microcontroller (MCT), to the set of components (SC) when data backup operation is triggered, the electrical energy being converted from the heat flux of the temperature deviation from the chip, wherein the microcontroller (MCT) is connected to a set of sensors (SS) that retrieves values of voltage and current of the set of components (SC) during a data backup operation and the duration required to perform the data backup operation, wherein the microcontroller (MCT) determines the electrical energy required to perform data backup operation by the set of components based on the values retrieved by the set of sensors (SS). determining (S1), by the microcontroller (MCT), an electrical energy required to perform data backup operation by the set of components, computing (S2), by the microcontroller (MCT), from the determined electrical energy a temperature deviation to reach by the thermoelectric generator (TEG), wherein the temperature deviation is the difference between the temperature inside the chip and the ambient temperature of the chip, commanding (S3), by the microcontroller (MCT), the regulation of the temperature inside the chip by the thermoelectric generator to reach the temperature deviation, supplying (S4) electrical energy, by the microcontroller (MCT), to the set of components (SC) when data backup operation is triggered, the electrical energy being converted from the heat flux of the temperature deviation from the chip, wherein the microcontroller (MCT) is connected to a set of sensors (SS) that retrieves values of voltage and current of the set of components (SC) during a data backup operation and the duration required to perform the data backup operation, wherein the microcontroller (MCT) determines the electrical energy required to perform data backup operation by the set of components based on the values retrieved by the set of sensors (SS). <EOS>