This document discusses measuring the energy consumption of an AndroidThings application running on a Raspberry Pi. An Arduino with an INA219 shunt is used to measure the power drawn by the Raspberry Pi running an AndroidThings app that sends weather data via SMS. The results showed the app running for 8 hours idle, 2 hours while sending SMS messages, and 20 minutes to send 10,000 SMS messages. Examining the Android system UI process revealed it used 3 times as much energy as other processes due to software events. Improving how events are handled could increase battery life by 42 minutes. The document concludes that IoT energy consumption will increase due to managed data transfer and that efficient IoT design is important for environmental and
1 of 29
Download to read offline
More Related Content
IotCeption - Energy Measurement of Android Things on Raspberry PI 3 with Arduino Uno
3. Why do you need to
measure energy ?
Sofware is eating the
world
and it needs energy!
4. Transporting bits now
uses 50% more
energy than world
aviation, and will
likely use twice as
much by 2030.
Mark P. Mills - CEO, Digital Power Group - www.tech-pundit.com
11. Use case : Send weather information by SMS
Raspberry PI
OS : AndroidThings
(make the Apps
meetThings !)
SMS Service :
CiscoTropoPimoroni
Rainbow Hat
Weather
Station
26. Premature Optimization ?
There is no doubt that the grail of
efficiency leads to abuse. Programmers
waste enormous amounts of time thinking
about, or worrying about, the speed of
noncritical parts of their programs [...]We
should forget about small efficiencies, say
about 97% of the time: premature
optimization is the root of all evil.Yet we
should not pass up our opportunities in
that critical 3%.
Donald Knuth - 1974
27. Conclusion
IoT energy consumption will bloat not because of
code but due to managed data!
An autonomous IoT is not so simple
Measure, Measure and Measure
Efficient IoT (and cloud) is good for earth and for
users!
#3: Im Olivier Philippot and Im CTO of Greenspector. You can easily hear that Im not american but a little frenchy. And Im really happy to be here ! What do I do ? Providing energy knowledge and efficiency for developers. That is why I created greenspector a tool suite for energy measurement and green IT !
#4: Sofware is eating the world and it needs energy !
#6: Mobility is everywhere. And there is a real impact on the autonomy, which we can see when we need to plug our smartphone every night. With IoT, it would be the same : try and change the battery on your hundred devices every year and your wallet will feel it ![L辿a] Si cest une question type 束pourquoi devez vous mesurer l辿nergie?損 = Why do you need to measure energy?MAIS si cest plut担t affirmatif type 束Pour vous devez mesurer l辿nergie損 = Why you need to measure energy(concept applicable pour les 2 prochaines slides aussi)
#30: Les Am辿ricains aiment finir par un 束 Thank you for listenning損 avec un grand sourire la fin + ajouter tes contact details (nom/email/@) la fin pour ceux qui ont rejoint en cours de conf