edit: My laptop has a i7-12700H, which uses more power than the cpu in the framework laptop.
More thoughts: The laptop is pretty much always plugged in. When I'm out I carry a little 60W charger with me.
However for other reasons I wouldn't recommend the XPS 17. I have a Lenovo legion 7 at home that I'm more happy with (cheaper, better performance, lots of ports, etc)