HomeSort by relevance Sort by last modified time
    Searched full:battery (Results 26 - 50 of 500) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/docs/html/training/scheduling/
index.jd 32 ultimately turn off the CPU. This prevents the device's battery from quickly getting
46 its battery.
56 on battery life.
  /external/chromium_org/base/power_monitor/
power_monitor_unittest.cc 61 // Pretend the device has gone on battery power
66 // Repeated indications the device is on battery power should be suppressed.
70 // Pretend the device has gone off battery power
75 // Repeated indications the device is off battery power should be suppressed.
power_observer.h 16 // as from switching between battery and A/C power.
power_monitor_source.h 31 // Is the computer currently on battery power. Can be called on any thread.
48 // running on battery power. Returns true if running on batteries,
power_monitor_device_source.cc 13 // battery check.
  /external/chromium_org/chrome/test/functional/
chromeos_power.py 16 """Print some information about the battery."""
  /external/chromium_org/content/browser/
power_monitor_message_broadcaster_unittest.cc 92 // Pretend the device has gone on battery power
96 // Repeated indications the device is on battery power should be suppressed.
100 // Pretend the device has gone off battery power
104 // Repeated indications the device is off battery power should be suppressed.
  /external/chromium_org/content/child/
power_monitor_broadcast_source_unittest.cc 72 // Pretend the device has gone on battery power
78 // Repeated indications the device is on battery power should be suppressed.
83 // Pretend the device has gone off battery power
89 // Repeated indications the device is off battery power should be suppressed.
  /frameworks/base/docs/html/training/efficient-downloads/
regular_updates.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>
33 <p><a href="{@docRoot}training/monitoring-device-state/index.html">Optimizing Battery Life</a> discusses how to build battery-efficient apps that modify their refresh frequency based on the state of the host device. That includes disabling background service updates when you lose connectivity and reducing the rate of updates when the battery level is low.</p>
47 <p>GCM is implemented using a persistent TCP/IP connection. While it's possible to implement your own push service, it's best practice to use GCM. This minimizes the number of persistent connections and allows the platform to optimize bandwidth and minimize the associated impact on battery life.</p>
53 <p>A simple approach is to offer preferences to allow users to explicitly set their required update rate, allowing them to define their own balance between data freshness and battery life.</p>
65 <p>Wherever possible, set your alarm type to {@code ELAPSED_REALTIME} or {@code RTC} rather than to their {@code _WAKEUP} equivalents. This further reduces battery impact by waiting until the phone is no longer in standby mode before the alarm triggers.</p>
91 <p>The cost of initiating a network connection is the same whether you are able to contact your server and download data or not. For time-sensitive transfers where successful completion is important, an exponential back-off algorithm can be used to reduce the frequency of retries in order to minimize the associated battery impact, for example:</p>
  /frameworks/base/tests/BatteryWaster/
AndroidManifest.xml 7 <activity android:name="BatteryWaster" android:label="Battery Waster">
  /packages/apps/SpareParts/res/values/
strings.xml 25 <string name="title_battery_history">Battery history</string>
26 <string name="summary_battery_history">Summary of how battery has been used</string>
28 <string name="title_battery_information">Battery information</string>
29 <string name="summary_battery_information">Current battery status information</string>
  /frameworks/base/docs/html-intl/ja/training/monitoring-device-state/
index.jd 6 next.link=battery-monitoring.html
38 <dt><b><a href="battery-monitoring.html">????????????</a></b></dt>
  /frameworks/base/docs/html-intl/zh-cn/training/monitoring-device-state/
index.jd 6 next.link=battery-monitoring.html
38 <dt><b><a href="battery-monitoring.html">???????????</a></b></dt>
  /build/target/board/vbox_x86/
init.vbox_x86.rc 16 # fake some battery state
17 setprop status.battery.state Slow
18 setprop status.battery.level 5
19 setprop status.battery.level_raw 50
20 setprop status.battery.level_scale 9
  /development/tools/labpretest/
labpretest.sh 12 # times. It will detect if it is in a low battery situation and wait for it to
62 # Blocks until battery level is at least
76 local battery
78 log_print "checking battery level"
79 while [ "$battery" = "" ]; do
80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
83 if [ $battery -lt $LIMIT ]; then
84 log_print "Battery is low, waiting for charge"
86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'
    [all...]
  /device/generic/goldfish/
init.goldfish.rc 30 # fake some battery state
31 setprop status.battery.state Slow
32 setprop status.battery.level 5
33 setprop status.battery.level_raw 50
34 setprop status.battery.level_scale 9
  /device/generic/mini-emulator-armv7-a-neon/
init.mini-emulator.rc 39 # fake some battery state
40 setprop status.battery.state Slow
41 setprop status.battery.level 5
42 setprop status.battery.level_raw 50
43 setprop status.battery.level_scale 9
  /frameworks/base/docs/html-intl/ru/training/monitoring-device-state/
battery-monitoring.jd 1 page.title=Monitoring the Battery Level and Charging State
2 parent.title=Optimizing Battery Life
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);
  /external/chromium_org/ash/system/chromeos/power/
tray_power.h 37 // Low battery charge.
40 // Critically low battery charge.
44 // Time-based notification thresholds when on battery power.
  /frameworks/base/services/java/com/android/server/
BatteryService.java 55 * battery. When these values change this service broadcasts the new values
65 * <p>&quot;health&quot; - String, the current battery health.<br />
66 * <p>&quot;present&quot; - boolean, true if the battery is present<br />
70 * <p>&quot;voltage&quot; - int, current battery voltage in millivolts</p>
71 * <p>&quot;temperature&quot; - int, current battery temperature in tenths of
73 * <p>&quot;technology&quot; - String, the type of battery installed, e.g. "Li-ion"</p>
76 * The battery service may be called by the power manager while holding its locks so
79 * FIXME: Ideally the power manager would perform all of its calls into the battery
88 private static final int BATTERY_SCALE = 100; // battery capacity is a percentage
191 // assume we are powered if battery state is unknown s
    [all...]
  /device/samsung/manta/overlay/frameworks/base/packages/SettingsProvider/res/values/
defaults.xml 24 Mute battery sounds on tablets after one hour with screen off -->
  /external/chromium_org/base/timer/
hi_res_timer_manager.h 15 // when not running on battery power.
  /external/chromium_org/content/common/
power_monitor_messages.h 18 // as from switching between battery and A/C power.
  /frameworks/base/tests/BatteryWaster/res/values/
strings.xml 19 <string name="waste_away">Discharge my battery!</string>
  /system/core/healthd/
healthd_board_default.cpp 27 // return 0 to log periodic polled battery status to kernel log

Completed in 640 milliseconds

12 3 4 5 6 7 8 91011>>