SlideShare a Scribd company logo
1 of 16
 Android shipments reached 136 million
units in Quarter 3, 2012, which accounts for
75% of the 181.1 million shipments during
the quarter.
 Most of the Android powered device got a
3.5”-5” screen, 3G connectivity, Wi-
fi, Bluetooth, 1GHz or higher processor, GPS
and more, which powered by 1500 MAh
battery.
 We want to increase the battery life of the
smart devices but not to loose the
performance.
 Android is based on Linux kernel, we have
got the opportunity to modify the kernel, so
we choose this platform.
 Operating System
› Linux Mint for Compiling Source
 Tools
› Bash script
› Google’s updater script
› SQLite database engine
 Kernel governor and I/O scheduler
benchmark.
 init.d tweak
 GPS.conf tweak
 Build.prof tweak
 Odex and Deodex Rom
 zRAM swap and zipalign.
 SQLite auto sync off.
 Since Android/Linux is multitasking
capable, CPU needs to share its cycles to
more than one running task. This is a job for
CPU governor.
 Governors are especially important in smart
phones and tablets because they have a large
impact on the apparent fluidity of the
interface and the battery life of the device
over one time charge.
 Different governors have different
parameters. Ideally, a governor will have-
› Sampling rate
› Threshold
 Various tweak can be placed, and the
governor gives different battery
performance with due to various I/O
schedulers.
 Kernel controls the disk access using I/O
scheduler.
 Purpose of I/O scheduler:
› Minimize hard disk seek latency.
› Prioritize I/O requests from processes.
› Allocate disk bandwidth for running processes.
› Guarantee that certain requests will be served
before a deadline.
 Android boot-up process consists of the
following steps-
› At first the bootloader runs.
› Kernel boots and load various kernel objects(.ko
files) and prepare the hardware.
› User space programs are invoked. This is the
stage where the init.d script runs. Also various
apps and daemons are started to prepare the
Rom.
 Most of the custom kernel supports init.d
script.
 init.d script are to be placed inside
/system/etc/init.d directory (or
/etc/init.d which is a symbolic link to
/system/etc/init.d)
 Order of executing init.d scripts are in the
increasing order of ASCII values that
corresponds to their names.
 build.prop is a properties file of android
operating system.
 Battery performance can be improved by
changing build.prop properties like-
› Touch response
› 3G speed up
› Net speed tweak
› GPU rendering
› Wi-Fi signal tweak
 GPS.conf twaek
 Advertisement block
 SQLite auto synchronization off
 Odex and Deodex
 Zipalign
 zRAM swap
Energy Efficient OS fo Android Powered Smart Devices

More Related Content

Similar to Energy Efficient OS fo Android Powered Smart Devices

Droidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform AnatomyDroidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform Anatomy
Benjamin Zores
 
Manish Chasta - Securing Android Applications
Manish Chasta - Securing Android ApplicationsManish Chasta - Securing Android Applications
Manish Chasta - Securing Android Applications
Positive Hack Days
 
Containerizing Hardware Accelerated Applications
Containerizing Hardware Accelerated ApplicationsContainerizing Hardware Accelerated Applications
Containerizing Hardware Accelerated Applications
Docker, Inc.
 

Similar to Energy Efficient OS fo Android Powered Smart Devices (20)

Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011
 
Droidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform AnatomyDroidcon 2013 France - Android Platform Anatomy
Droidcon 2013 France - Android Platform Anatomy
 
Android OS
Android OSAndroid OS
Android OS
 
Android architechture
Android architechtureAndroid architechture
Android architechture
 
Google ART (Android RunTime)
Google ART (Android RunTime)Google ART (Android RunTime)
Google ART (Android RunTime)
 
5945632 (1).ppt
5945632 (1).ppt5945632 (1).ppt
5945632 (1).ppt
 
Introduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptxIntroduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptx
 
Android crash debugging
Android crash debuggingAndroid crash debugging
Android crash debugging
 
Android Internals
Android InternalsAndroid Internals
Android Internals
 
Android
AndroidAndroid
Android
 
Android
Android Android
Android
 
Android - Application Framework
Android - Application FrameworkAndroid - Application Framework
Android - Application Framework
 
Manish Chasta - Securing Android Applications
Manish Chasta - Securing Android ApplicationsManish Chasta - Securing Android Applications
Manish Chasta - Securing Android Applications
 
Containerizing Hardware Accelerated Applications
Containerizing Hardware Accelerated ApplicationsContainerizing Hardware Accelerated Applications
Containerizing Hardware Accelerated Applications
 
Android
Android Android
Android
 
Enhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_osEnhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_os
 
Andriod
Andriod Andriod
Andriod
 
NFF-GO (YANFF) - Yet Another Network Function Framework
NFF-GO (YANFF) - Yet Another Network Function FrameworkNFF-GO (YANFF) - Yet Another Network Function Framework
NFF-GO (YANFF) - Yet Another Network Function Framework
 
Android internals
Android internalsAndroid internals
Android internals
 

Recently uploaded

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Energy Efficient OS fo Android Powered Smart Devices

  • 1.
  • 2.
  • 3.  Android shipments reached 136 million units in Quarter 3, 2012, which accounts for 75% of the 181.1 million shipments during the quarter.  Most of the Android powered device got a 3.5”-5” screen, 3G connectivity, Wi- fi, Bluetooth, 1GHz or higher processor, GPS and more, which powered by 1500 MAh battery.
  • 4.  We want to increase the battery life of the smart devices but not to loose the performance.  Android is based on Linux kernel, we have got the opportunity to modify the kernel, so we choose this platform.
  • 5.  Operating System › Linux Mint for Compiling Source  Tools › Bash script › Google’s updater script › SQLite database engine
  • 6.  Kernel governor and I/O scheduler benchmark.  init.d tweak  GPS.conf tweak  Build.prof tweak  Odex and Deodex Rom  zRAM swap and zipalign.  SQLite auto sync off.
  • 7.  Since Android/Linux is multitasking capable, CPU needs to share its cycles to more than one running task. This is a job for CPU governor.  Governors are especially important in smart phones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over one time charge.
  • 8.  Different governors have different parameters. Ideally, a governor will have- › Sampling rate › Threshold  Various tweak can be placed, and the governor gives different battery performance with due to various I/O schedulers.
  • 9.  Kernel controls the disk access using I/O scheduler.  Purpose of I/O scheduler: › Minimize hard disk seek latency. › Prioritize I/O requests from processes. › Allocate disk bandwidth for running processes. › Guarantee that certain requests will be served before a deadline.
  • 10.
  • 11.  Android boot-up process consists of the following steps- › At first the bootloader runs. › Kernel boots and load various kernel objects(.ko files) and prepare the hardware. › User space programs are invoked. This is the stage where the init.d script runs. Also various apps and daemons are started to prepare the Rom.
  • 12.  Most of the custom kernel supports init.d script.  init.d script are to be placed inside /system/etc/init.d directory (or /etc/init.d which is a symbolic link to /system/etc/init.d)  Order of executing init.d scripts are in the increasing order of ASCII values that corresponds to their names.
  • 13.
  • 14.  build.prop is a properties file of android operating system.  Battery performance can be improved by changing build.prop properties like- › Touch response › 3G speed up › Net speed tweak › GPU rendering › Wi-Fi signal tweak
  • 15.  GPS.conf twaek  Advertisement block  SQLite auto synchronization off  Odex and Deodex  Zipalign  zRAM swap