The title is the problem. Its missing a hard drive and has a bad battery. I boot into linux from a usb when it is plugged into the wall, but it randomly shuts down (although it does have time to properly boot). If I turn it on again immediately after, it shuts down immediately. If I wait a...