I have microcontroller device (ESP32) that doing some process and the begin to sleep. This cycle is for 12 hours (00:00-12:00). And after that, begin full sleep for 12 hours (12:00-00:00). So my timing diagram will be like this:
P = V * I(average current each day) = 5V * 12.25mA = 61,25 mWatt
So, to calculate energy (watt-hour) consumed by my device is, i need to multiply it by 3600s, like this:
E = 0,06125 * 3600 = 220,5 watt-hour
Is this correct?