• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Transferring Data Without Draining the Battery
2page.tags=battery,network,wireless
3
4trainingnavtop=true
5startpage=true
6
7@jd:body
8
9<div id="tb-wrapper">
10<div id="tb">
11
12<!-- Required platform, tools, add-ons, devices, knowledge, etc. -->
13<h2>Dependencies and prerequisites</h2>
14<ul>
15  <li>Android 2.0 (API Level 5) or higher</li>
16</ul>
17
18<!-- related docs (NOT javadocs) -->
19<h2>You should also read</h2>
20<ul>
21  <li><a href="{@docRoot}training/monitoring-device-state/index.html">Optimizing Battery Life</a></li>
22</ul>
23
24</div>
25</div>
26
27<p>In this class you will learn to minimize the battery life impact of downloads and network connections, particularly in relation to the wireless radio.</P
28
29<p>This class demonstrates the best practices for scheduling and executing downloads using techniques such as caching, polling, and prefetching. You will learn how the power-use profile of the wireless radio can affect your choices on when, what, and how to transfer data in order to minimize impact on battery life.</p>
30
31<h2>Lessons</h2>
32
33<!-- Create a list of the lessons in this class along with a short description of each lesson.
34These should be short and to the point. It should be clear from reading the summary whether someone
35will want to jump to a lesson or not.-->
36
37<dl>
38  <dt><b><a href="efficient-network-access.html">Optimizing Downloads for Efficient Network Access</a></b></dt>
39    <dd>This lesson introduces the wireless radio state machine, explains how your app’s connectivity model interacts with it, and how you can minimize your data connection and use prefetching and bundling to minimize the battery drain associated with your data transfers.</dd>
40
41  <dt><b><a href="regular_updates.html">Minimizing the Effect of Regular Updates</a></b></dt>
42    <dd>This lesson will examine how your refresh frequency can be varied to best mitigate the effect of background updates on the underlying wireless radio state machine.</dd>
43
44  <dt><b><a href="redundant_redundant.html">Redundant Downloads are Redundant</a></b></dt>
45    <dd>The most fundamental way to reduce your downloads is to download only what you need. This lesson introduces some best practices to eliminate redundant downloads.</dd>
46
47  <dt><b><a href="connectivity_patterns.html">Modifying your Download Patterns Based on the Connectivity Type</a></b></dt>
48    <dd>When it comes to impact on battery life, not all connection types are created equal. Not only does the Wi-Fi radio use significantly less battery than its wireless radio counterparts, but the radios used in different wireless radio technologies have different battery implications.</dd>
49
50</dl>
51