Atmega328PB not going to sleep, Atmega328P goes

Hi,

I have a hex file that was written for Atmega328P where the app goes to sleep.
I am flashing the same binary on Atmega328PB but the chip does not go to sleep.

Note:- I have made changes to avrdude.conf so that it thinks it is programming Atmega328P whereas the actual chip is PB. I dont think this should impact sleep functionality.
Can somebody pls help?

Thanks,
WI

This application note implies that it is upwards compatible and compiled code for a 328p should work on a 328pb but power consumption in sleep modes may be higher.

Have you got the source code?