Windows has automatic Modern Standby to Hibernate support (by default after 5% battery drain in standby). If it is not entering Hibernate, there may be an application keeping the system awake.
This works great for me on my Lenovo, I don't even have to close the lid, it just works. I think I configured it to be a little more aggressive about going to sleep when on battery than the default, but the settings work.
this sounds like a dumb workaround for fundamental issues that should ideally be addressed by beating app, driver, and hardware developers into submission in a way that would probably fall afoul of antitrust law