How IoT and M2M Connectivity Help Save Energy?