Hi @ArjunV14
" some people says its this problem is arises from battery low voltage and switched off long time because i did not use my laptop very long time."
That is indeed a possibility, but your statement about not using the notebook for a long time tells the biggest part of the story.
You will need to replace the battery to resolve this issue.
I suggest running the Windows battery report utility to see the actual state of your battery. The Windows Battery Report utility will help you to make an educated decision as to what needs to be done about your battery.
I explained how to do that in a Knowledge Base article a few years ago.
https://h30434.www3.hp.com/t5/Notebooks-Knowledge-Base/Is-your-notebook-plugged-in-and-not-charging/...