Hardware lid activates Airplane Mode

Hello World!,
I have an issue of my HP 15-ay going to airplane mode every time I open the lid. I have disabled the computer from going to sleep in Gnome Tweak Tools.
Thanks again,
Chall3ng3

Hi @chall3ng3!

Cursory search did produce this result.

If you would try it, you should use New Recommended Systemd Method.

I haven’t had this issue, I haven’t verified the solution, and solution’s author provides no real explanation why his solutions works, but several people with hp laptops have confirmed it works.

Also it looks harmless enough to try and very easy to reverse, so I would definitely test it. And if you do so – report the results here, please)

look at this file /etc/systemd/logind.conf. and logind.conf(5).