Home > Sample essays > Save Battery Life with Automated Android App Energy Problem Diagnosis

Essay: Save Battery Life with Automated Android App Energy Problem Diagnosis

Essay details and download:

  • Subject area(s): Sample essays
  • Reading time: 7 minutes
  • Price: Free download
  • Published: 1 April 2019*
  • Last Modified: 23 July 2024
  • File format: Text
  • Words: 2,015 (approx)
  • Number of pages: 9 (approx)

Text preview of this essay:

This page of the essay has 2,015 words.



Abstract :Now days number of people uses Smartphone, they are facing the problem of energy inefficiency related Android application. These problems are automated diagnosis is highly desirable and labor-intensive. There is issue that is absence of decidable criterion that facilitates automated judgment of such energy problems. battery drainage problem  is a problem and our aim  to find the solution for that. After the study of android application there observed causes of energy problem that are missing to deactivation of sensors and sensory data is not used effectively. It also missing to deactivate the services which are provided by the mobile phone like wi-fi, Bluetooth. After understanding  this problem propose android application to diagnosing energy problem by an automated approach. It observes the actions of wake lock to detect missing deactivation and sensor. It likewise keeps the way of utilization of tactile information and change utilizing our state-sensitive data utilization metric judges whether they are effectively utilized by the application or not. It produced detail report with significant data to help designers in approving identified validating.

Keyword: Energy efficiency, Smartphone, Automated diagnosis, Sensory data utilization, Android application.

I.INTRODUCTION

Today users of Smartphone increases rapidly. user uses various mobile phone applications for their mobile phones. New Mobile Technologies with the internet access give large amount of information to the user available on fingertips at home also. Smartphone technology is changing the ways in which individuals work. Activities like, buying and selling, accessing social networking sites, watching videos, reading newspapers, web browsing, short messages, gaming, email communication etc. can be performed from anywhere and at any time using the mobile devices. The number of  functionalities increases the pressure on battery lifetime, and deepens the need for effective energy management. Mobile devices derive the energy required for their operation from batteries. In the case of many consumer electronics devices, especially mobile phones, battery capacity is severely restricted due to constraints on size and weight of the device. This implies that energy efficiency of these devices is very important to their usability. Application needs battery of the mobile phones to run. In our mobile phones has limited battery life. In mobile phone utilize powerful hardware and number of sensors they provide various facility to the users. Users would be satisfied if Smartphone saves energy even after the on single charge, but instead of this there need to recharge the mobile phone again and again.  Power consumption has always been an issue in Smartphone’s. So its just try to minimize the use of battery.

  An important feature of a modern mobile device is that it can position itself. Not only for use on the device but also for remote applications that require tracking of the device. To be useful, such position tracking has to be energy-efficient to avoid having a major impact on the battery life of the mobile device. Furthermore, tracking has to robustly deliver position updates when faced with changing conditions such as delays due to positioning and communication, and changing positioning accuracy.

  Applications, activities of the user can consumes the power directly or indirectly because of that battery get dead or decreases level of battery. The processing and transferring data in Smartphone is also consumes the energy. Component like Audio, GPS, as well as Wi-Fi and cellular communication component are also responsible for power consumption in Smartphone. The usability of these devices is strongly defined by the energy consumption of mobile applications, and user reviews of applications reveal many customer complaints related to energy usage. So there is need to optimize the energy usage in Smartphone.

   Lifetime of battery can be save manually by managing of GPS, Wi-Fi, and Bluetooth by keep them off when they are not in use. here users do the struggle to remember the on/off the different component or they are not remained to deactivate the component after completion of its role. There is need to save the energy. So we need to save the energy of the mobile phone for efficient use of battery because of that lifespan of battery get save.

An Android application typically comprises Five kinds of components as follows[8]:

Intent: Intents are data-objects used for broadcasting events and connecting different app components on run-time. Containing the information about the action that needs to be done or a message about an event, Intents are mostly used for navigation among Activities, for launching services and sending Broadcast messages.

Activities: Activities are the only components that allowgraphical user interfaces (GUIs). An application may usemultiple activities to provide cohesive user experiences.The GUI layout of each activity component is specified inthe activity’s layout configuration file.

Services: Services are components that run at backgroundfor conducting long-running tasks like sensor data reading.Activities can start and interact with services.

 Fig: Component of android application.

Broadcast receivers: Broadcast receivers define how anapplication responds to system-wide broadcasted messages.It can be statically registered in an application’s configurationfile (i.e., the AndroidManifest.xml file associated witheach application), or dynamically registered at runtime bycalling certain Android library APIs.

Content providers: Content providers manage share  application data, and provide an interface for other components or applications to query or modify these data.

II. LITERATURE SURVEY

In this paper they  gives a detailed analysis of energy consumption in a Smartphone, they take  measurements on a physical device. They gives description about how the various components of the device contribute to overall power consumption in mobile phone. They developed a model for energy consumption for different usage scenarios, and showed how these translate into overall energy consumption and battery lifespan under a number of usage patterns[1].

In this paper they proposed  methods for position tracking that take the changing system conditions into account, specifically radio delays, positioning delays and position accuracy. They are also proposed a method that can minimize power consumption and satisfy robustness by calculating the optimal plan for when to power on and off features of the mobile devices such as the GPS module. The results of our emulation was that the proposed methods can lower the energy consumption considerably and remain robust when faced with changing[2].

In this paper, They  investigated key processing and networking features of contemporary Smartphone’s in terms of tradeoff between energy consumption and application delay. Based on  this study they  suggest a SpeedControl algorithm, it is  optimizes CPU speed, wireless interface selection and transmit power so as to answer how much energy can be saved further by the joint optimization when applications can tolerate a certain delay. SpeedControl differentiate the performance of non-networking applications from that of networking applications as well as obtains high energy saving by trading small delay. Finally, through extensive simulations and experiment studies including meaningful real measurement results such as smart-phone power consumption or network states, we made several important observations which provide us with a message that joint optimization of CPU and network speed would be imperative, especially in future network trend where the more energy-efficient networks are deployed. The joint optimization of processing speed and networking speed for energy minimization might be applied for emerging multi-homed terminals and real-time video/multimedia applications[3].

Optimization in power usage of applications in Smartphone has become an important field for research in today’s IT world. The main sources power consumption for battery draining in Smartphone’s are Network Data Communication such as Multimedia Streaming, GPS, Wi-Fi, and Signal Dead Spots. Usage scenarios such as high level of Backlight, high resolution Video Playbacks, Graphics Rich Gaming, and Heavy Computing Processes. Other causes of power wastage are Application Energy Bugs, No- Sleep Bugs, Unnecessary use of Sensors and continuously running Background Processes. Wake Locks and Sensors can also quickly drain the battery if the programmers forget to unregister it in time. This study highlighted the problems and the solutions for optimization of energy consumption in smartphones[4].

In this paper, they presented a study of realenergy problems in Smartphone. they has used GreenDroid tool to diagnosis the energy problems in Android phones. This tool is only used to list out the problem of smartphone applications but cannot solve the issues like energy optimization[5].

This paper makes the first advances towards understanding and self detecting software energy bugs on smartphones. it presents the  compairing real world no-sleep energy bug characterization study. Our study reveals three major causes of no-sleep energy bugs and provides useful guidelines and hints to design effective detection schemes. Second, it proposes the first detection solution, based on the classic reaching definitions dataflow analysis, to automatically infer potential no-sleep bugs in an app. Third, evaluation of our tool on 86 Android apps and the Android framework shows that our tool accurately[6].

In this paper they present a mobile for diagnosing energy the wild given incomplete and noisy instrumentation measurements from a community of clients. they are developed this method method as an app for iOS and Android called Carat and deployed it to a community of more than 500,000 devices. Carat diagnosed thousands of anomalies, which involves detecting the anomaly, estimating it severity, quantifying the error and confidence bounds on that estimate, and sometimes identifying the device features that are correlated with the anomaly[7].

III. PROPOSED WORK

This scheme use to save the energy in Smartphone. It is simple and efficient to use. It gives the list of the sensors. It deactivate the sensors forcefully which don’t want to the user. Proposed system try to solve the problem of battery drainage by Missing sensors or wake lock deactivation and sensory data utilization.

Wake lock deactivation:

Wake locks are battery-managing software mechanisms in mobile, which make sure that your Android device doesn't go into deep sleep (which is the state that you should strive for), because a given app needs to use your system resources

At the time of data transmission of data, an application there needs to register a listener with Android Operating System. It should unregistered when concerned service is no longer being used. Moreover the people are forgetting to unregister that an applications, because of that energy problem is created. For that an application has to acquire wake lock from an android OS. The wake lock should be released as soon as computation completed. This helps to save the fully charged battery[5].

Sensory data underutilization:  

Smartphone has some in build sensors. Sensors are collect the data from their environment e.g. GPS. It requires more energy to collect the data. So it should be used effectively by application. Some sensors provide less amount of sensory data that can also  result in energy waste. The existing system is weak to the store  energy so the proposed system helps to the save the energy.

Fig: Greendroid Architecture

  The above both weak locks and sensory data underutilization it helps to save the battery. If any activity paused then another activity comes front and paused activity goes to background. When the started activity is goes to background or stopped then the first activity get resume from its current state. Applications current state and related data utilization from the sensor will used as a input data for GreenDroid. Working on Wi-Fi and Bluetooth will depend on data under utilization of Wi-Fi and data transaction information of Bluetooth respectively. Analysis report contains the current state and data utilization of application and sensors. Utilized and unused sensors will be disabled. Appropriate action will be taken by GreenDroid as per analysis report. As per that approach we can save the unwanted battery consumption. Hence it optimizes the energy for Android phones.

IV. RESULTS AND GRAPHS

In the above graph the percentage shows the drain battery and the x-axis shows the elapsed time. At first battery drain about 1.6% and after using the application it drain about 1%.means it saves the 0.6%battery for the 5 minutes.   

  V. CONCLUSION AND FUTURE SCOPE

In this system we gives minimum amount of solution for the energy drainage problem in Smartphone. We are developed application for solving this problem. That helps to  use save energy in Smartphone. It helps to deactivate the internet resources when they are not in use. But this Smartphone applications cannot solve the some issues.

About this essay:

If you use part of this page in your own work, you need to provide a citation, as follows:

Essay Sauce, Save Battery Life with Automated Android App Energy Problem Diagnosis. Available from:<https://www.essaysauce.com/sample-essays/2016-3-20-1458509878/> [Accessed 13-04-26].

These Sample essays have been submitted to us by students in order to help you with your studies.

* This essay may have been previously published on EssaySauce.com and/or Essay.uk.com at an earlier date than indicated.