Added support for communication power accounting. Energy is attributed to idle listening when the radio is switched off. Enegrgy is attributed to an incoming packet when it is received. Energy is attributed to an outgoing packet when it is transmitted.
Added support for communication power accounting. Energy is attributed to idle listening when the radio is switched off. Enegrgy is attributed to an incoming packet when it is received. Energy is attributed to an outgoing packet when it is transmitted.

MohamedSeliem/contiki,bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,arurke/contiki,arurke/contiki