3 ms·
That’s a fallacy. I tested it, the battery impact is zero if properly implemented. I implemented a prototype before, where I had a standardized protocol, and a
by kuschku 9y ago
That’s a fallacy. I tested it, the battery impact is zero if properly implemented.
I implemented a prototype before, where I had a standardized protocol, and apps give the GCM library (I modified microG’s) a URL to connect to, and an auth token.
microG’s GCM library would keep all those sockets open, just as it does with the sockets for Google’s several cloud messaging services, and upon receiving a message, wake up the app.
As result, only one app runs in background, every app can use its own notification service, you have no battery loss, and you can keep everything open.
All this can work. Google just doesn’t want it to.