Professional Documents
Culture Documents
Sirapat Boonkrong
Department of Data Communication and Networking
King MongKuts University of Technology North
Bangkok
Bangkok, Thailand
sirapatb@kmutnb.ac.th
see what states they are in, usually to see whether they are
still connected or want to communicate [2]. It works
completely appropriately for some types of content that is
actually changing constantly like weather information,
news headlines or stock quotes. The application can poll
very infrequently and then when the users actually start to
view or access data, immediately application can refresh
data.
ABSTRACT
Nowadays, energy saving solutions are interesting in all
fields of technology and Android is not an exception. All
Android users know that their mobile device has limited
battery consumption, so how can they use it as long as
possible? An efficient application that can run on the
Android OS is one of the most important ways to reduce
battery usage of the system. For this purpose, this paper
will concentrate on evaluating and comparing the impacts
of an Android phone battery with two techniques which are
the way an application gather data from the server over
the Internet known as polling and pushing data. Each
technique, an application was presented on Android OS
then they will be tested performance by Power Tutor.
Analyzing the results, this research will find a more
efficient way between polling and pushing data to reduce
battery usage when sync data applications operate.
I. INTRODUCTION
Day by day, the Android smart phone becomes more
popular than before [1]. It contains many applications that
are very useful for users. So the most interesting
applications are those that access data over the Internet.
Those applications can give users seamless access to data
wherever they are. To do this task, Android allows
developers to make applications that are background sync
applications. Currently, this is becoming more popular and
necessary because users can access their data wherever
they are. Applications can gather data from server
transparently when the server has some changes. It makes
sure that the latest data is reflected on the device as quick
as possible. Across all of these types of applications, there
is one fundamental challenge: How do Android
applications keep data on the device fresh or up-to-date?
There two basic techniques known as polling and pushing
data. Polling operation is very different from the way
pushing works. Therefore, their impacts on phone battery
are also different and will be investigated.
Polling data is one of the auto sync data techniques that are
continuously checked by other programs on the device to
84
Battery consumption
Whenever developers create their application to run on the
Android system, battery usage becomes one of the most
important things that they should consider before that
application is deployed. There are many researches that
mention about the ways to save battery for example:
Monitoring Energy Consumption of Smart phones [6] it is
critical to monitor and analyze the energy consumption of
an application on smart phones. For this purpose, they
developed an application like a smart energy monitoring
system called SEMO for smart phones using the Android
operating system. It can profile mobile applications with
battery usage information, which is vital for both
developers and users. The idea is that: they try to run each
application, which has specific tasks with the OS system
and records battery usage for that application. After
gathering the data, authors analyze the collected data per
application and rank it. This helps users of the Android
device to know which kind of application has consumed
more battery than another.
Pushing data
Pushing data uses C2DM which is a new Google API. It
can be implemented from Android version 2.2 or on the
85
III. METHODOLOGY
Methodology
mW
Average: 0.2135
180
160
140
mW
120
100
80
20
0
400
600
800
1000
1200
Time(Seconds)
1400
1600
0.2135
2000
1800
160
140
120
mW
200
No data travelling
180
100
80
60
40
19.86
20
200
400
600
800
1000 1200
Time(seconds)
1400
1600
1800
mW
Avarage: 79.07
220
2000
200
180
160
mW
140
120
100
79.07
80
60
40
20
0
200
400
600
800
1000
1200
Time(Seconds)
1400
1600
1800
2000
REFERENCES
mW
Avarage: 21.41
180
160
1)
2)
3)
4)
5)
6)
7)
140
mW
120
100
80
60
40
21.41
20
200
400
600
800
1000
1200
Time(seconds)
1400
1600
1800
2000
88
9)
89
90