Solved! My tablet turns on when plugged in but goes off when unplugged