If you don’t see this message, your battery could be damaged and you may need to replace it; this is likely the case if it's an old laptop — after all, laptops batteries don't last forever.
This convenient improvement is going to be universally appreciated. Right now, it's only available to Windows 11 Insiders.