/external/libmtp/examples/ |
detect.c | 156 // Some battery info 159 fprintf(stdout, " Battery level %d of %d (%d%%)\n",currbattlevel, maxbattlevel, 163 // battery level.
|
/frameworks/base/docs/html/tools/devices/ |
managing-avds.jd | 173 <td>Battery support</td> 175 <td>Whether the device can run on a battery. Default value is "yes".</td> 177 <td>hw.battery</td>
|
/external/bluetooth/bluedroid/stack/include/ |
gattdefs.h | 106 /* Battery Service char */
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
manifest-receivers.jd | 2 parent.title=Optimizing Battery Life
|
/frameworks/base/docs/html/training/scheduling/ |
wakelock.jd | 29 <p>To avoid draining the battery, an Android device that is left idle quickly falls asleep. 114 <p>Creating and holding wake locks can have a dramatic impact on the host device's battery 124 Again, though, this practice should be minimized because of its impact on battery life.</p> 147 using it to avoid draining the battery.</p>
|
/system/core/healthd/ |
BatteryMonitor.cpp | 66 KLOG_WARNING(LOG_TAG, "Unknown battery status '%s'\n", status); 88 KLOG_WARNING(LOG_TAG, "Unknown battery health '%s'\n", status); 126 { "Battery", ANDROID_POWER_SUPPLY_TYPE_BATTERY }, 248 "battery l=%d v=%d t=%s%d.%d h=%d st=%d",
|
healthd.cpp | 94 // slow wake interval when on battery (watch for drained battery).
|
/frameworks/base/services/java/com/android/server/ |
SystemServer.java | 133 BatteryService battery = null; local 280 Slog.i(TAG, "Battery Service"); 281 battery = new BatteryService(context, lights); 282 ServiceManager.addService("battery", battery); 293 // lights service, content providers and the battery service. 294 power.init(context, lights, ActivityManagerService.self(), battery, 303 Watchdog.getInstance().init(context, battery, power, alarm, [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 36 * A class providing access to battery usage statistics, including information on 210 * @param batteryRealtime system realtime on battery in microseconds 420 * @param batteryUptime elapsed uptime on battery in microseconds. 553 // Flag in delta int: a new battery level int follows. 555 // Flag in delta int: a new full state and battery status int follows. 769 * Return the base time offset for the battery history. 780 * running on battery. 811 * running on battery. [all...] |
/device/lge/hammerhead/overlay/frameworks/base/core/res/res/xml/ |
power_profile.xml | 78 <!-- This is the battery capacity in mAh --> 79 <item name="battery.capacity">2300</item>
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
__init__.py | 58 Most platforms can operate in a battery saving mode. While good for battery
|
/frameworks/base/docs/html/training/efficient-downloads/ |
redundant_redundant.jd | 2 parent.title=Transferring Data Without Draining the Battery 24 <li><a href="{@docRoot}training/monitoring-device-state/index.html">Optimizing Battery Life</a></li>
|
/frameworks/base/docs/html/training/sync-adapters/ |
index.jd | 76 Improved battery performance 82 switch on the network, which reduces battery usage.
|
running-sync-adapter.jd | 61 without degrading performance or wasting battery life by polling the server. 91 automated options, you conserve battery and network resources. 112 at regular intervals uses battery power even if no updates are available, GCM only sends 365 has to account for other sync adapter executions and tries to maximize battery efficiency, the 432 for running a sync adapter. The framework is specifically designed to conserve battery power 434 changes use battery power effectively, since the power is used to provide new data. 440 doesn't refresh data is an ineffective use of battery power. In general, your app should either 465 seconds before running the sync request, because it tries to optimize battery use by
|
/frameworks/base/docs/html-intl/es/training/monitoring-device-state/ |
docking-monitoring.jd | 7 previous.link=battery-monitoring.html 48 <pre>int dockState = battery.getIntExtra(EXTRA_DOCK_STATE, -1);
|
index.jd | 6 next.link=battery-monitoring.html 38 <dt><b><a href="battery-monitoring.html">Cómo controlar el nivel de batería y el estado de carga</a></b></dt>
|
battery-monitoring.jd | 54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); 96 <pre>int level = battery.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); 97 int scale = battery.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
LevelListDrawable.java | 33 * a LevelListDrawable would be a battery level indicator icon, with different images to indicate the current 34 * battery level.
|
/frameworks/base/packages/SystemUI/res/layout/ |
status_bar.xml | 98 <!-- battery must be padded below to match assets --> 100 android:id="@+id/battery"
|
/packages/apps/Settings/src/com/android/settings/ |
BatteryInfo.java | 147 // to battery status broadcasts 166 // Get awake time plugged in and on battery
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardUpdateMonitor.java | 114 // Battery status 398 * battery level, so this allows either battery level or status to determine if the 399 * battery is charged. 407 * Whether battery is low and needs to be charged. 408 * @return true if battery is low 508 // Take a guess at initial SIM state, battery status and PLMN until we get an update [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 85 * preserve battery life. If you know new data is available (perhaps via a GCM notification),
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 85 * preserve battery life. If you know new data is available (perhaps via a GCM notification),
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncUtils.java | 85 * preserve battery life. If you know new data is available (perhaps via a GCM notification),
|
/development/tools/labpretest/ |
README | 9 It will detect if it is in a low battery situation and wait for it to charge
|