Hi everybody. I have a problem with my program, it uses Essentials: Accelerometer to count the number of device tilts.But the problem is that sometimes it doesn't work, and sometimes it works, but not stably, when the phone is in the background or when the screen is locked.The program also uses Essentials: Vibration, which also does not work or is unstable in the background or in a locked screen mode.I also tried to use the services to work in the background, but they did not bring results, or maybe I implemented them incorrectly??? Please help me find a solution for this situation, that's also my github // https://github.com/Ilim-Hussein/MyMobilProject // I put together a test code sample there having such a problem. Thanks !