Is this running windows or linux?
Modern Intel hardware has an active standby on windows that it goes into when you close the lid with the charger connected. If you unplug the charger first, and then put it to sleep then it lasts way longer.
This is not a Framework specific issue though, at some point dell had a service advisory out for some of their machines, to not let it suspend with the lid closed, as it will cook the screen! My 10th/11th gen Intel HP would be warm to the touch while it's on standby.