This problem can be caused by multiple issues. Your device's RAM may be loose and need to be reseated, or it may need to be replaced. If this solution does not help, then your motherboard has failed and needs to be replaced. Please refer to the appropriate replacement guides to resolve this issue.
The grinding sound could be caused by either your hard drive, or your cooling fan. If the cooling fan is not spinning and the sound is still happening, it is probably your hard drive. Please refer to the appropriate replacement guides to resolve this issue.
There are multiple reasons your battery may not be charging. The DC power connector may not be working, which is apparent if your device only charges when the power connector is plugged in at a certain angle. Also, your battery may have stopped working, or your motherboard has failed. Please refer to the appropriate replacement guides determine the cause, and resolve this issue.