That sounds like something eats up the processing power, so it is unable to process the keystrokes in real time.
But obviously what ever does the processing should have had sufficient priority for this not to happen normally.
Anything you are aware of running in the background that might be what is disturbing. E.g. some complex sound decoding, playing high-resolution sound?
I would try to install something like GSam or the like, to find out what is using the resources. (GSam registers the battery pull over time, but any substantial CPU activity should also leave a mark in the power cons