Whenever I turn off the screen of my pixel 2 with Android 8.1, the scanner is turned off as it is already described here: BLE scan is not working when screen is off on Android 8.1.0
I tried specific scan filter attributes and also an empty scanfilter with no success, the scanner is disabled and wakes up after switching the screen on.
Logcat output (screen is turned off):
Cannot start the unfiltered scan in screen-off. This scan will be resumed later...
Any help would be greatly appreciated.