To save battery in my Android foreground service, when I detect that the phone is still and the screen is off, I call unregisterListener to avoid using the accelero
unregisterListener