Springer Nature is making Coronavirus research free. View research | View latest news | Sign up for updates

DelayDroid: an instrumented approach to reducing tail-time energy of Android apps


  • 145 Accesses

  • 3 Citations


Mobile devices with 3G/4G networking often waste energy in the so-called “tail time” during which the radio is kept on even though no communication is occurring. Prior work has proposed policies to reduce this energy waste by batching network requests. However, this work is challenging to apply in practice due to a lack of mechanisms. In response, we have developed DelayDroid, a framework that allows a developer to add the needed policy to existing, unmodified Android applications (apps) with no human effort as well as no SDK/OS changes. This allows such prior work (as well as our own policies) to be readily deployed and evaluated. The DelayDroid compile-time uses static analysis and bytecode refactoring to identify method calls that send network requests and modify such calls to detour them to the DelayDroid run-time. The run-time then applies a policy to batch them, avoiding the tail time energy waste. DelayDroid also includes a cross-app communication mechanism that supports policies that optimize across multiple apps running together, and we propose a policy that does so. We evaluated the correctness and universality of the DelayDroid mechanisms on 14 popular Android apps chosen from the Google App Store. To evaluate our proposed policy, we studied three DelayDroid-enabled apps (weather forecasting, email client, and news client) running together, finding that the DelayDroid mechanisms combined with our policy can reduce 3G/4G tail time energy waste by 36%.



智能手机在 3G/4G 网络条件下的待机时间主要取决于应用后台网络请求。 已有的工作提出了一些节省安卓网络能耗的网络调度算法,然而如何将这些算法自动地实现地现有的安卓应用中是一大挑战。本文给出了一种通过自动程序转换来支持现有的安卓应用中网络请求延迟调度的方法。其核心是应用字节码转换。本文介绍了将安卓应用转换成支持后台网络请求调度的应用的技术挑战、处理机制、以及 DelayDroid 转换系统。与已有的工作相比, DelayDroid 有两大特色:一是程序转换自动执行;二是转换后的应用可支持多应用的后台网络请求调度, 该调度机制可以降低安卓应用的待机耗电。此外, DelayDroid被设计为可对只有 dex 字节码的安卓应用进行转换, 更具实用性。

This is a preview of subscription content, log in to check access.


  1. 1

    Balasubramanian N, Balasubramanian A, Venkataramani A. Energy consumption in mobile phones: a measurement study and implications for network applications. In: Proceedings of the 9th ACM SIGCOMM Conference on Internet Measurement, Chicago, 2009. 280–293

  2. 2

    Huang J, Qian F, Mao Z M, et al. Screen-off traffic characterization and optimization in 3G/4G networks. In: Proceedings of the 12th ACM SIGCOMM Conference on Internet Measurement, Boston, 2012. 357–364

  3. 3

    Qian F, Wang Z, Gao Y, et al. Periodic transfers in mobile applications: network-wide origin, impact, and optimization. In: Proceedings of the 21st World Wide Web Conference, Lyon, 2012. 51–60

  4. 4

    Qian F, Wang Z, Gerber A, et al. TOP: tail optimization protocol for cellular radio resource allocation. In: Proceedings of the 18th Annual IEEE International Conference on Network Protocols, Kyoto, 2010. 285–294

  5. 5

    Chuah M C, Luo W, Zhang X. Impacts of inactivity timer values on UMTS system capacity. In: Proceedings of IEEE Wireless Communications and Networking Conference Record, Orlando, 2002. 897–903

  6. 6

    Swiech M, Dinda P A. Making javascript better by making it even slower. In: Proceedings of the 21st International Symposium on Modelling, Analysis and Simulation of Computer and Telecommunication Systems, San Francisco, 2013. 70–79

  7. 7

    Huang J, Qian F, Gerber A, et al. A close examination of performance and power characteristics of 4G LTE networks. In: Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, MobiSys’12, Ambleside, 2012. 225–238

  8. 8

    Athivarapu P K, Bhagwan R, Guha S, et al. Radiojockey: mining program execution to optimize cellular radio usage. In: Proceedings of the 18th Annual International Conference on Mobile Computing and Networking, Istanbul, 2012. 101–112

  9. 9

    Puustinen I, Nurminen J. The effect of unwanted internet traffic on cellular phone energy consumption. In: Proceedings of International Conference on New Technologies, Mobility and Security (NTMS), Paris, 2011. 1–5

  10. 10

    Yeh J-H, Chen J-C, Lee C-C. Comparative analysis of energy-saving techniques in 3GPP and 3GPP2 systems. IEEE Trans Veh Tech, 2009, 58: 432–448

  11. 11

    Qian F, Wang Z, Gerber A, et al. Profiling resource usage for mobile applications: a cross-layer approach. In: Proceedings of the 9th International Conference on Mobile Systems, Applications, and Services, Bethesda, 2011. 321–334

  12. 12

    Xu F, Liu Y, Moscibroda T, et al. Optimizing background email sync on smartphones. In: Proceedings of the 11th Annual International Conference on Mobile Systems, Applications, and Services, Taipei, 2013. 55–68

  13. 13

    Nikzad N, Chipara O, Griswold W G. APE: an annotation language and middleware for energy-efficient mobile application development. In: Proceedings of the 36th International Conference on Software Engineering, Hyderabad, 2014. 515–526

  14. 14

    Vergara E J, Sanjuan J, Nadjm-Tehrani S. Kernel level energy-efficient 3G background traffic shaper for Android smartphones. In: Prcoeedings of the 9th International Wireless Communications and Mobile Computing Conference, Sardinia, 2013. 443–449

  15. 15

    Vergara E J, Nadjm-Tehrani S. Energy-aware cross-layer burst buffering for wireless communication. In: Proceedings of the 3rd International Conference on Future Energy Systems: Where Energy, Computing and Communication Meet. New York: ACM, 2012. 24

  16. 16

    Zhang Y, Huang G, Liu X, et al. Refactoring Android java code for on-demand computation offloading. In: Proceedings of the 27th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, Tucson, 2012. 233–248

  17. 17

    Wu X, Xu C, Lu Z, et al. Cosedroid: Effective computation-and sensing-offloading for Android apps. In: Proceedings of the 39th IEEE Annual Computer Software and Applications Conference, Taichung, 2015. 2: 632–637

  18. 18

    Ravindranath L, Agarwal S, Padhye J, et al. Procrastinator: pacing mobile apps’ usage of the network. In: Proceedings of the 12th Annual International Conference on Mobile Systems, Applications, and Services, Bretton Woods, 2014. 232–244

Download references

Author information

Correspondence to Gang Huang.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Huang, G., Cai, H., Swiech, M. et al. DelayDroid: an instrumented approach to reducing tail-time energy of Android apps. Sci. China Inf. Sci. 60, 012106 (2017). https://doi.org/10.1007/s11432-015-1026-y

Download citation


  • refactor
  • Android
  • optimization
  • energy
  • network scheduling


  • 重构
  • 安卓
  • 优化
  • 能耗
  • 网络调度