Power Consumption in Android Devices - CodeShoppy
Power Consumption in Android Devices - CodeShoppy
Android OS has a function with
which an application can work in screen-off state without user's
operation. In this paper, we propose a method for identifying
applications which largely drain battery in Screen-off state in Android
devices. We monitor the wake-up of Android devices and estimate the
power consumption of each application based on the monitoring results.
Our experimental results demonstrate that our method can identify power
draining applications effectively.
Android devices in screen-off state will go into sleep state without operation. In sleep state, CPU processing, display emitting, and communication are highly restricted. By the restriction, power consumption is significantly saved.
ransition to sleep state may prevent application from correct working. In order to avoid this prevention, Android OS has WakeLock function, which forbids a device to go into sleep state. For example, a movie application can keep screen on during playing using this function. It can be expected that an application which acquires many WakeLock may severely consume power.
The Google Android platform
supports provisioning of packaged applications to an Android device.
However, an existing approach requires user's interaction during the
installation of a new application or its modules. We present a new
approach to dynamic modules loading which enables provisioning of new
modules to Android device dynamically without the interaction with the
user. It will allow complex applications to adapt to the surrounding
conditions and requirements of the user by downloading additional code
from a server or a neighboring peer device. In our solution we propose
to replace the default application class-loader with a custom one while
employing some existing mechanisms of class-loading from APK packages at
the Android platform.
Android OS has AlarmManager function, which launches an application at a specified time regardless of state of the device. If the device is in sleep state at the specified time, this function wakes the device up and performs the application. For example, a news application can periodically update information using this function. We can expect that an application with frequent alarming may be a battery draining application.
We investigated the relation between power consumption and WakeLock acquisition. We modified Android OS, which is open source software, then enabled recording WakeLock acquisitions. We installed the applications in top 50 of ranking of Google Play Store of category “Widget” . The eight applications of the 50 applications do not support the experimental device, so 42 applications were installed. We monitored release of WakeLock and transition of remaining battery for 24 hours. The device is set to change into screen-off state after 30 minutes from the last operation.
Comments
Post a Comment