Hello everyone. I have a problem with my program, it uses Essentials: Accelerometer to count the number of slopes of the device.But the problem is that it sometimes does not work or 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 does not work stably in the background or in the mode with the screen locked. Please help solve this problem of stable operation of the program in the background. Thanks !!!