Apple is in a pickle because of background app restrictions.
On Android, OEMs and App developers play tricks to hack those restrictions and you end up with awful user experience and poor battery life.
If apple loosens background restrictions to allow for IDEs, compilers, terminals and any app that needs to keep a socket or child process alive -- an entire league of background battery-killers will hit the app store
This is a case of Apple discipline in favor of the iPad platform.