Hi everyone, I am having some problems to handle with energy levels. I am using SimpleEnergyStorage to handle the energy of my sensor nodes. My first question is: Does the transmitter power affect the battery level? I have the following snippet in my code for the sensors:
wlan[*].radio.transmitter.power = 2mW;
No matter how I change the power level, the energy remaining in the nodes decreases with the same ratio during execution time. Should I change it in other places?
Another question: is there a way to set a node to sleep? I was planning to reduce the power in the transmitter during sleep time, is it the best approach?
Thanks.