Hacker News new | ask | show | jobs
by usrn 1524 days ago
No. Taking the wakelock is significant battery drain. Because of poor mobile OS architecture you have to take the wakelock to leave connections open. On normal Linux you can just have the OS suspend anyway and most of the time the connection will be there when it wakes up and if it doesn't the client automatically reestablishes. (this is exactly how the normal push connection on android is maintained anyway, there's almost no real overhead to having a couple more.)

Mobile push is a combination of brain damage and bizarre propaganda targeting developers.