I want to simply boot my galaxy Tab A tablet when I plug in the charger and when I unplug the charger, I want the tablet to turn off. I have mounted the tablet in my car and buttons are not accessible. Could someone give me step by step procedure to do this? Will the tablet need to be rooted?