73-11Mobile Environmental Sensing Using Smartphones
that the active phase lasts the shortest time possible. is is achieved by using “control messages,” which
me
ans
th
at
th
e
cl
ient
se
nds
to th
e
se
nsor
in
formation
su
ch
as “s
tart
me
asuring”
or “d
isconnect
fr
om
me.”
e se
cond
co
nsideration
is th
at
th
e
sl
eep
ti
me
do
es
no
t
in
uence
th
e
cu
rrent
co
nsumption
. In fac
t,
in
a 1 mi
n
me
asurement,
th
e
sl
eep
ph
ase
a
ects
cu
rrent
co
nsumption
ab
out
0.02
%
. Ne
glecting
th
is
te
rm
pe
rmits
c
alculating
t
he
b
attery
d
uration
i
n
t
erms
o
f
n
umber
o
f
m
easurements
(
since
t
he
c
onsumption
i
s
di
rectly
pr
oportional
to th
e
fr
equency
of me
asurement)
. Co
llected
da
ta,
av
eraged
ov
er
a 1 h pe
riod,
in
di-
cate
th
at
th
e
ch
osen
ba
ttery
(M
otorola
CR
2477,
10
00
mA
h)
sho
uld
la
st
fo
r
ab
out ...