1.. zephyr:code-sample:: stm32_pm_stm32wb_ble 2 :name: Bluetooth Low Energy Power Management on STM32WB 3 :relevant-api: sys_poweroff bt_gap bluetooth 4 5 Perform Bluetooth LE operations with Zephyr power management enabled on STM32WB. 6 7Overview 8******** 9 10A simple application demonstrating the BLE operations (advertising) with 11Zephyr power management enabled (:kconfig:option:`CONFIG_PM`). 12 13After startup, a first 2 seconds beacon is performed, 1 second break and 14beacon is started again. 15BLE link is then disabled and started up again after 2 seconds, then same 16beacon sequence happens. 17 18Finally, platform shutdown is triggered. It can be restarted by pressing the 19board reset button. 20 21Using a power measurement tool, user can observe the platform reaching STOP2 mode 22before beacon is started and between advertising peaks besides as SHUTDOWN mode 23when requested. 24 25Requirements 26************ 27 28* For now, only compatible with nucleo_wb55rg. 29