Green sensing for energy saving