There is an easy solution for this problem.
1- Go to device manager
2- In battery section you will see two subsection. One is for AC , and the other for battery charging.
3- Remove battery charging device. This means that you will be using your notebook as a workstation.
We do this solution...