An android app to detect motion with goal of using as much less battery as possible and smart as possible