I reviewed your post and I understand that you want to know whether you can disable the laptop battery.
Don’t worry, I assure you I will try my best to get this sorted.
I would like to inform you that there is no option to disable the battery on the computer. However, you can keep the charger connected to the computer while gaming, and that will not affect the battery life.
I hope that answers your question and you have a great day!
P.S: Welcome to the HP Support Community 😊
If you wish to show appreciation for my efforts, mark my post as Accept as Solution.Your feedback counts!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".