How do you make an Android 5.0 tablet turn off with long press of power button?

A

AC Question

How do you make an android 5.0 tablet turn off with long press of power button?

Hey guys, now unlike other devices my tablet will not turn off after I long press the power button, instead I just get some options to poweroff/reboot/airplane mode. I would like to know if there is a way to make my device shut down solely by holding the power button and not selecting an option. I need this info because from time to time my screen stops responding and when I long press the power button I just get a bunch of options which do nothing as my screen doesn't respond to touches. My device is a lenevo tab s8-50 running android 5.0. Help would be much appreciated!