I am finding out a way to switch off my tablet automatically.
Right now when we long press power button, I get a confirmation for shutdown (Cancel or Ok).
Is there a way to programmatically switch off the device without confirmation ?
Is this possible?
No. Suitably rooted phones/tablets often have access to su/reboot commands, but for an off-the-shelf, commercially available device, no: there is no way to programatically shut it down.