I know that the method setRequiresDeviceIdle(boolean requiresDeviceIdle) makes the job run when the device to be in idle mode.
What I want is the opposite, I want the job to run when the device isn't in idle mode (screen is on and the user is using the phone) and I know that setRequiresDeviceIdle(false) doesn't do the job because saying "false" means that it isn't required so it'll run when it is idle and when it isn't.