This document discusses energy efficiency in wireless sensor networks. It describes how sensor nodes consist of an RF transceiver, microcontroller, sensors, and memory. Radio transceivers are the largest energy consumer. The document measures energy usage for different components and transmitting data. It also discusses using lithium-ion batteries for their discharge characteristics and the ability to model remaining capacity. A measurement setup is used to test batteries at different temperatures and loads, developing a linear model to calculate residual energy as a function of temperature directly on sensor nodes.