Is there any problem by putting Atmega328p-pu in sleep mode

Hello All,

Thanks for reading this topic

I followed the below link and found suitable for my battery based application.

Reason behind writing to this forum is my Atmega328p-pu moderately heats up as sleep mode starts. Is this normal or I further need to work on.

Kindly provide relevant solution.