title: Android BLE ScanCallback LOW LATENCY
body: <p>I’m building BLE Android.
  My application scan for BLE devices with background service 24/7 (this is essential for my app) with SCAN_MODE_LOW_POWER as settings.
  When i find devices that are related to my app i switch to SCAN_MODE_LOW_LATENCY because at this point every 1 second count for my app.
  With SCAN_MODE_LOW_LATENCY i'm receiving ScanCallback intensively but at some point like when device in sleep mode i’m receiving like 10-11 callback intensively then a pause of 3-4s then the callbacks again.</p>
  
  <p>This 3-4s delay/pause isn’t helping my app at all.</p>
  
  <p>Is it possible to have  intensive ScanCallback even if the device is in sleep or doze mode? </p>
  
  <p>Thanks.</p>
  
  <p>Log when screen on:</p>
  
  <p>05-25 09:26:27.121 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true </p>
  
  <p>05-25 09:26:27.161 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn 
  :true</p>
  
  <p>05-25 09:26:27.211 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:27.251 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:27.301 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>...intensive ScanCallback</p>
  
  <p>05-25 09:26:41.101 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:41.151 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:41.201 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:41.251 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:41.291 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:41.341 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>05-25 09:26:41.391 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :true</p>
  
  <p>Log when screen off:</p>
  
  <p>05-25 09:26:50.141 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.191 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.221 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.271 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.301 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.351 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.401 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.441 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.501 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.531 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.581 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:50.631 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>---> no Callback 5s</p>
  
  <p>05-25 09:26:55.151 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.201 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.251 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.301 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.341 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.381 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.421 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.481 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.521 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.571 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>
  
  <p>05-25 09:26:55.611 14564-14564/? I/TAG_BLE: BLE onScanResult - isScreenOn :false</p>