If it was just the keyboard it would be fixable, but being a power supply/battery problem as well, I think a new laptop is for the best.
Ok, didn’t see battery, not cheap there.