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 rule 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 activities which are not in use. 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 information 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 access of internet give more amount of information to the user available on fingertips at home also. Smartphone technology is changing the ways in which individuals work. Activities like, gaming, buying and selling, watching videos ,accessing social networking sites, web browsing, reading newspapers, short messages, email communication etc. this activities can performed from at any time and anywhere using the mobile devices. The number of functionalities increases the force on battery lifetime, and deepens the need for effectively energy management. Mobile devices derive the energy required for their activities from batteries. In some case of consumer electronics devices, especially mobile phones, battery capacity is limited due to constraints of size and weight of the device. This implies that power efficiency of these devices is very important to their utility. Application needs battery of the mobile phones to run. In our mobile phones has limited battery life. In mobile phone utilize strong hardware and number of sensors they provide different facility to the users. Smartphone 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. 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 Smartphone device is that it can show position itself. Either use on the device or also for remote applications that require tracking of the mobile phone device. To be useful, such position tracking has to be energy-efficient to avoid having a major effect on the battery life of the cell phone. Furthermore, tracking has to robustly deliver position current updates when faced with changing position 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 will die or decreases level of energy mobile phone. The transferring and processing data in Smartphone is also consumes the energy. Audio, GPS, Wi-Fi and cellular communication component are also responsible for power consumption in Smartphone. The usability of these devices is strongly defined by the power wastage of Smartphone applications, and client reviews of applications reveal many users complaints related to energy usage. So it have to optimize the energy usage in mobile phone.
Lifetime of battery can be save manually by managing of GPS, Wi-Fi, and Bluetooth by keep them off. At that time 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 future use of user because of that lifespan of battery get save.
An Android application consist Five kinds of components as follows[8]:
Intent: Intents are data-objects used for broadcasting events and it help to connecting with 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 allow graphical user interfaces (GUIs). An application might utilize number of activities to provide cohesive user experiences. The GUI design of every activity component is arrange in the activity’s layout configuration file.
Services: Services are components that run at background for conducting long time running activity like sensor data reading. Activities can start and interact with services.
Fig: Component of android application.
Broadcast receivers: Broadcast receivers define how an application reaction to system large broadcasted messages. It can be statically registered in an application’s configuration file (i.e. this AndroidManifest.xml document connected with every application), or dynamically registered at runtime by using calling Android library APIs.
Content providers: It manage share application data, and provide an interface for other components or applications to query or alter this information.
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 convert into overall power consumption and battery lifespan under a number of usage patterns[1].
In this paper they proposed methods for location tracking that take the changing system conditions into account, specifically positioning delays, radio delays and position accuracy. They are also proposed a method that can minimize power utilization and satisfy robustness by calculating the minimum plan for when to power on and off features of the mobile devices. The outcomes of our emulation was 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 components of contemporary Smartphone's as far as tradeoff between energy consumption and application delay. Based on this SpeedControl algorithms they suggested. it is reduces CPU speed, wireless interface selection and transmit energy so as to answer how much energy can be reserve further by the joint optimization when applications can allow a certain delay. SpeedControl separate the performance of non-networking applications from that of networking applications as well as obtains high power saving by allowing small delay. Finally, through experiment studies including meaningful real measurement and extensive simulations results such as smart-phone power consumption or network states, we made different important observations which gives us with a message that joint optimization of CPU and network speed would be imperative, particularly in future system trend where the more energy-efficient networks are deployed. The joint optimization of networking speed and processing speed for energy minimization might be applied for emerging multi-homed terminals and real-time 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 for e.g. Wi-Fi, Multimedia Streaming, GPS, and Signal Dead Spots. Usage scenarios like high level of Backlight, Graphics Rich Gaming, high resolution Video Playbacks, and Heavy Computing Processes. Other causes of energy wastage are No- Sleep Bugs, Application Energy Bugs, continuously running Background Processes and Unnecessary use of Sensors . battery can be drain by Wake Locks and Sensors. if the programmers forget to unregister it on time. This study focus on problems and the solutions for optimization of energy consumption in Smartphone’s[4].
In this paper, they presented a study of actual energy problems in mobile phone. they has used GreenDroid tool to diagnosis the power problems in Smartphone’s. This tool is only used to list out the issues of mobile phone applications but cannot solve the issues like energy optimization[5].
This paper shows understanding and self detecting software power bugs on mobile phone. it presents the comparing real world no-sleep energy bug characterization study. study shows three major causes of no-sleep energy bugs , provides useful guidelines and design effective detection schemes. Second, it proposes the detection solution, based on the classic reaching definitions dataflow investigation, to mobile itself (automatically) infer potential no-sleep bugs in an app. Third, evaluation of our tool Android framework shows that our tool accurately[6].
In this paper they display a mobile for diagnosing energy the large given incomplete and noisy instrumentation measurements from group of clients. they are invented method an app for iOS and Android called Carat. Carat analyzed thousands of anomalies, which involves detecting the anomaly, estimating it different, quantifying the error and certainty limits on that gauge, and sometimes identifying the device features that are correlated with the anomaly[7].
III. PROPOSED WORK
This proposed work try to save the energy in mobile phone. 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 wake lock deactivation or Missing sensors or and sensory data utilization.
Wake lock deactivation:
Wake locks are battery-managing software mechanisms in mobile, which make sure that your Android phone doesn't go into long rest (which is the state that you should strive for), because a given application needs to use mobile phone 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. Some peoples are not remind to unregister that an applications, because of that energy problem is created. For that an application needs to gain wake lock from an android OS. when computation completed The wake lock should be released. This helps to save the fully charged battery[5].
Sensory data underutilization:
Smartphone has some in build sensors. Sensors are collect the data from its surrounding e.g. GPS. It needs 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 save power in mobile phone 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 new activity is goes to background or stopped then the old activity get resume from its current state. Applications current state and related data utilize from the sensor will used as a input for GreenDroid. Working on Wi-Fi and Bluetooth will depend on data under utilization of data transaction information of Bluetooth and Wi-Fi respectively. Analysis report contains the data utilization of application and current state. Utilized and unused sensors will be disabled. Appropriate action will be taken by GreenDroid as per diagnosis report. As per that approach we can save the unwanted battery consumption. Hence it optimizes the energy for Android phones.
IV. RESULTS AND GRAPHS
Fig: Graph
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 power drainage problem in mobile phone. We are developed greendroid 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.