Some laptops have a battery reset button for cases like this. For example lenovo has a pinhole where you can press a tiny button using a paperclip.
https://devblogs.microsoft.com/oldnewthing/20250107-00/?p=11...