Add idle section duration time
Remove global vars from profiler
Add TX power to computation and statically define min bitrate.
Adapt to profiler changes.
Improve error handling and properly save statistics. Also do not update
measurements when running in virtual power metering mode,