This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Device does not sleep after disconnection.

Hi,

 

I’m trying to measure the current on NRF52840, SDK 17.0.2.

I have modified the HeartRate Measurement example’s advertising parameters as PLper my requirement.

I observe that while my device is advertising, the current is around 40 Micro Amps and the sleep current is 3.2 Micro Amps.

Once I connect and disconnect to the device using NrfConnect, the current is 30 Micro Amps and does not drop back to 3.2 Micro Amps.

Why is my device not going to sleep after disconnection?

 

 

Thanks,

Chitra

Parents
  • Hello,

    Have you changed the duration for how long the app should advertise before timing out? The default is 3 minutes and that's when the app calls 'sleep_mode_enter()'  to enter deep sleep (system OFF mode).

    Once I connect and disconnect to the device using NrfConnect, the current is 30 Micro Amps and does not drop back to 3.2 Micro Amps.

     Did you wait for the adv. to time out? Note that advertising is automatically restarted on disconnect unless you enable the '.ble_adv_on_disconnect_disabled'  setting in advertising_init().

    Best regards,

    Vidar

Reply
  • Hello,

    Have you changed the duration for how long the app should advertise before timing out? The default is 3 minutes and that's when the app calls 'sleep_mode_enter()'  to enter deep sleep (system OFF mode).

    Once I connect and disconnect to the device using NrfConnect, the current is 30 Micro Amps and does not drop back to 3.2 Micro Amps.

     Did you wait for the adv. to time out? Note that advertising is automatically restarted on disconnect unless you enable the '.ble_adv_on_disconnect_disabled'  setting in advertising_init().

    Best regards,

    Vidar

Children
No Data
Related