Answered
After upgrade (automatically) to 4.2.0 version of Activity Task it doesn't work.
My task is to detect when I am in a vehicle and then bluetooth is automatically activated. When I get out of the vehicle, bluetooth is deactivated. The task is a copy of the video that accompanies the download of ActivityTask on Google play and has always worked correctly until ActivityTask was updated to version 4.2.0, which does not detect anything.
I have validated that it still has all permissions, and there is no battery saving. I don't know what's going on.