@muneer, u able to use the usb port for transferring files and charging? Random reboots points towards the motherboard of the device. Take it to the Motorola service center asap and let them take a crack at it. It might be nothing or it might be a potential disaster waiting to happen.
P.S not trying to scare u here, just letting u know the fact.