So I was trying to install a ram using a screwdriver and it accidentally slipped. It hit a place close to where the ram was going to be put on. I made the fatal mistake of leaving the laptop on and it made a spark. After the spark it immediately turned off. It smoked a little but there’s no sign of damage on motherboard.

After the spark it does nothing when turned on. The power indicator is on/white and the battery indicator doesn’t turn on even when the battery is connected. Nothing except the hdd seems to be working but when checking the other parts they do seem to have power running through them.

With the battery connected, I can power the laptop on and off(If it’s state can even be called on) but with the adapter connected and the battery disconnected the laptop turns on again automatically after I force shut it down.

Is there a way to actually fix this or do I need to replace the motherboard?