Skip to main content

Optimized CPU Frequency Scaling on Android Devices Based on Foreground Running Application

  • Conference paper
  • First Online:
Computer Networks & Communications (NetCom)

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 131))

Abstract

When it comes to portable devices, battery life is a very crucial aspect. Battery life of a mobile device can be improved by several techniques. One such technique is the effective management of the operating voltage and frequency of the processor. Linux provides a utility, named cpufreq, to dynamically scale CPU frequency on the fly. Since Android operating system is based on Linux, the cpufreq utility can be used to scale the CPU frequency of the portable devices. To decide when and how much frequency should be scaled, cpufreq governors are used. This paper proposes the basis for a new cpufreq governor called appspace, to improve battery life by considering not only instantaneous CPU usage, but also foreground running application on the device.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 379.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Sysfs is a virtual file system provided by Linux 2.6 and above. It exports information about devices from the kernel device model to user space, and is also used for configuration.

  2. 2.

    A jiffy is a proverbial short amount of time, which is 1/100 s on most CPUs (depends on highest clock rate of CPU).

References

  1. Welch GF, University of North Carolina, Chapel Hill (1995) A survey of power management techniques in mobile computing operating systems. ACM SIGOPS Oper Rev 29(4):47–56

    Google Scholar 

  2. Vallina-Rodriguez N, Hui P, Crowcroft J, Rice A (2010) Exhausting battery statistics, In: Proceedings of the second ACM SIGCOMM workshop on networking, systems, and applications on mobile handhelds, MobiHeld ’10, New York

    Google Scholar 

  3. Mallik A, Lin B, Memik G, Dinda PA, Dick RP (2006) User-driven frequency scaling. IEEE Comput Archit Lett 5(2):16

    Article  Google Scholar 

  4. Sueur EL, Heiser G (2010) Dynamic voltage and frequency scaling: the laws of diminishing returns. In: Proceedings of the 2010 international conference HotPower’10 on power aware computing and systems

    Google Scholar 

  5. Pouwelse J, Langendoen K, Sips H (2001) Dynamic voltage scaling on a low-power microprocessor. In: Proceedings of the 7th annual international conference on mobile computing and networking, ACM SIGMOBILE 2001

    Google Scholar 

  6. Linux manual page (2007), proc. http://linux.die.net/man/5/proc

  7. Choi K, Soma R, Pedram M, University of Southern California, Los Angeles (2004) Dynamic voltage and frequency scaling based on workload decomposition. In: Proceedings of the 2004 international symposium ISLPED ’04 on Low power electronics and design

    Google Scholar 

  8. Linux kernel documentation (2008), [Linux/kernel/git/torvalds/Linux-2.6.git]/Documentation/cpu-freq/governors.txt

    Google Scholar 

  9. Pallipadi V, Starikovskiy A (2006) The ondemand governor. In: Proceedings of the Linux, symposium, vol 2

    Google Scholar 

  10. LG optimus one P500 specifications (2010), Gsmarena. http://www.gsmarena.com/lg_optimus_one_p500-3516.php

  11. Erasmux, sources of minmax, smartass, smartass2, interactivex governors, Github. https://github.com/erasmux/hero-2.6.29-flykernel/tree/master/drivers/cpufreq

  12. Imoseyon (2011) CPU Governors. http://www.imoseyon.com/2011/10/cpu-governors.html

  13. Liang Y, Lai P, Chiou C (2010) An energy conservation DVFS algorithm for the android operating system. J Convergence 1:93–100

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tanuj Mittal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer Science+Business Media New York

About this paper

Cite this paper

Mittal, T., Singhal, L., Sethia, D. (2013). Optimized CPU Frequency Scaling on Android Devices Based on Foreground Running Application. In: Chaki, N., Meghanathan, N., Nagamalai, D. (eds) Computer Networks & Communications (NetCom). Lecture Notes in Electrical Engineering, vol 131. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-6154-8_80

Download citation

  • DOI: https://doi.org/10.1007/978-1-4614-6154-8_80

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4614-6153-1

  • Online ISBN: 978-1-4614-6154-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics