User Activity

I have ported my source code from IAR to ST CubeIDE.My IAR code is working fine for Sleep mode.But same code is not working for sleep mode in CubeIDE.While debugging i found that it is not going in Sleep mode .Please suggest how can i proceed to make...
Not able to print through STLINK on cubeIDE serial Terminal (Not getting Serial Terminal on CubeIDE)