I noticed that the BLE application always goes to power mode 2 when sleeping , and not to power mode 3.
I found the following code :
/* HAL_SLEEP_PM2 is entered only if the timeout is zero and
* the device is a stimulated device.
*/
halPwrMgtMode = (timeout == 0) ? HAL_SLEEP_DEEP : HAL_SLEEP_TIMER;