Boosting Energy Efficiency with Motion Sensors