Another great piece of information shared by a member of our community (Rene) on how to root your tablet so that it will automatically turn on when it detects a charge from the USB connection. This is super handy when the tablet is totally shut down (powered off or out of battery). The steps below are performed on a Samsung Galaxy Tab A (2016) on Android version 8.1.0 (Oreo).
As usual, from Rene and Workshop 12, we make the following disclaimer: Neither party is responsible for any damage you may encounter when following this guide. It is your own responsibility. You can brick your device. Rene has done the changes on his own tablet with the help of the online information he could find, and these are the steps he has taken.