Doze

At Google I/O 2015, Google introduced Doze, a simple feature that turns Android apps off if a device is not moving for a time (using the accelerometer). It is one way to save the battery.