There's a number of things. (at least four kinda five things you might mean by "keepalives", and the answer is all of them, so yes, and then others.) The same code that runs on iOS and Android also runs on Linux servers (where it was originally developed) where battery or perfect network efficiency wasn't really a top concern. When that code was moved to mobile, a few efforts were made to improve behavior on phones but not enough.
We're also working on measurements to make sure we objectively fix things and don't regress later in the future once it's fixed.
We're also working on measurements to make sure we objectively fix things and don't regress later in the future once it's fixed.