Newer ones have a menu item in the BIOS for disconnecting the non-removable battery (it will be connected and charged again once it's back on the charger).
We can on my T15p gen 3, bought 2021, and it also has a tiny hole. AFAICT it does the same thing as pressing the power button in that it discharges ... electrical stuff? It's all electric in there.