Infinite restart until the battery is exhausted

Hello everyone. I own an Air 14.1 cwi529 zla q128g801803035 lapbook I performed a clean installation of W10 but it was not successful. Now the PC restarts in loop. It is not possible to turn it off until the battery is exhausted. I read somewhere that the keyboard could be. What do you recommend to do? Is it possible to understand exactly if it is a hardware or softwer problem? Thank you in advance for the help. I hope someone wants to answer me. Greetings to all Bonturo.