@akbar122, You’re most likely having a bad battery, which causes symptoms like that.
Start the computer up with power connected, then run the Command Line (cmd) as Administrator. Round the command: powercfg /batteryreport
This will give a good idea of your battery’s status and health. It will be saved as an HTML report, take a screenshot of it and update your question, [guide|21499|Adding images to existing questions], or upload the report and update your question. This will give us more to go on