I have a battery powered lawnmover which has stopped working, when i press the start button only the fan starts spinning, but the motor doesn't start, i took it apart and didn't find any visible damage measured that none of the mosfets aren't in short circuit, then i connected it to my bech supply to 35V and it didn't draw any current when i noticed it has +5v pin on the back so i connected it to +5v supply and the onboard led blinked and the pcb started drawing current. So i think there is a supply problem, there is a lm317 voltage regulator and a 5V regulator, when i power the pcb through the battery input , there isn't any voltage on the lm317 so i think there is a problem somewhere in the part where that transistor is.I tried replacing it with a similar pnp bjt and when connected to battery the pcb led blinked and the board booted, but immediately as i connected the battery the fan started spinning (normally the fan starts when the start button is pressed) and the motor didn't start, also after some time the pcb led started blinking multiple times like it sensed an error. Any ideas what might be the problem, what else to check?, there is no problem with the battery.