OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:battery
(Results
51 - 75
of
500
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/device/lge/hammerhead/
thermal-engine-hammerhead.conf
27
actions
battery
battery
/frameworks/base/docs/html/guide/topics/connectivity/
index.jd
26
<h4>Transferring Data Without Draining the
Battery
</h4>
30
minimize impact on
battery
life.</p>
/frameworks/base/docs/html-intl/ja/training/monitoring-device-state/
docking-monitoring.jd
7
previous.link=
battery
-monitoring.html
48
<pre>int dockState =
battery
.getIntExtra(EXTRA_DOCK_STATE, -1);
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/docs/html-intl/zh-cn/training/monitoring-device-state/
docking-monitoring.jd
7
previous.link=
battery
-monitoring.html
48
<pre>int dockState =
battery
.getIntExtra(EXTRA_DOCK_STATE, -1);
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);
/external/chromium_org/chrome/browser/chromeos/power/
peripheral_battery_observer_browsertest.cc
26
const char kTestBatteryPath[] = "/sys/class/power_supply/hid-AA:BB:CC-
battery
";
73
// Level 50 at time 100, no low-
battery
notification.
87
// Level 5 at time 110, low-
battery
notification.
104
// Level 50 at time 120, no low-
battery
notification.
113
// Level 5 at time 130, no low-
battery
notification (throttling).
129
"/sys/class/power_supply/hid-
battery
", kTestDeviceName, 10);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerUI.java
90
* Buckets the
battery
level.
93
* the bucket going up when the
battery
level was going down. --joeo
95
* 1 means that the
battery
is "ok"
96
* 0 means that the
battery
is between "ok" and what we should warn about.
97
* less than 0 means that the
battery
is low
155
// if invalid charger is showing, don't show low
battery
186
Slog.i(TAG, "closing low
battery
warning: level=" + mBatteryLevel);
194
+ " low
battery
warning: level=" + mBatteryLevel
257
+ "ms): not waking up the user with low
battery
sound");
262
Slog.d(TAG, "playing low
battery
sound. pick-a-doop!"); // WOMP-WOMP is deprecate
[
all
...]
/external/chromium_org/build/android/buildbot/
bb_device_status_check.py
54
battery
= device_adb.GetBatteryInfo()
56
battery
= None
57
logging.error('Unable to obtain
battery
info for %s, %s', serial, e)
78
ac_power = _GetData('AC powered: (\w+)',
battery
)
79
battery_level = _GetData('level: (\d+)',
battery
)
80
battery_temp = _GetData('temperature: (\d+)',
battery
,
88
'
Battery
: %s%%' % battery_level,
89
'
Battery
temp: %s' % battery_temp,
97
errors += ['Device critically low in
battery
. Turning off device.']
110
#
battery
currently is too disruptive to the bots (especially try bots)
[
all
...]
/frameworks/base/services/java/com/android/server/
IdleMaintenanceService.java
45
*
battery
level is more than twenty percent AND at least one hour passed
132
//
Battery
actions.
165
// time out, or low
battery
.
174
// We stopped since we don't have enough
battery
or timed out but the
176
// in the next maintenance window since the
battery
may be charged
199
//
battery
will be charged latter.
270
//
Battery
not too low and the maintenance duration did not timeout.
288
// We care about
battery
only if maintenance is in progress so we can
289
// stop it if
battery
is too low. Note that here we assume that the
/external/chromium_org/chrome/browser/chromeos/policy/
login_screen_power_management_policy_unittest.cc
26
" \"
Battery
\": {"
90
"{ \"
Battery
\": { \"Delays\": { \"ScreenDim\": -1 } } }", &errors));
98
"{ \"
Battery
\": { \"Delays\": { \"ScreenOff\": -1 } } }", &errors));
106
EXPECT_TRUE(policy->Init("{ \"
Battery
\": { \"Delays\": { \"Idle\": -1 } } }",
122
EXPECT_TRUE(policy->Init("{ \"
Battery
\": { \"IdleAction\": \"SignOut\" } }",
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
pmu.h
3
* which controls
battery
charging and system power on PowerBook 3400
27
#define PMU_BATTERY_STATE 0x6b /* report
battery
state etc. */
28
#define PMU_SMART_BATTERY_STATE 0x6f /* report
battery
state (new way) */
51
#define PMU_POW_CHARGER 0x02 /*
battery
charger power */
59
#define PMU_INT_BATTERY 0x20 /*
Battery
state change */
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
pmu.h
3
* which controls
battery
charging and system power on PowerBook 3400
27
#define PMU_BATTERY_STATE 0x6b /* report
battery
state etc. */
28
#define PMU_SMART_BATTERY_STATE 0x6f /* report
battery
state (new way) */
51
#define PMU_POW_CHARGER 0x02 /*
battery
charger power */
59
#define PMU_INT_BATTERY 0x20 /*
Battery
state change */
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
pmu.h
3
* which controls
battery
charging and system power on PowerBook 3400
27
#define PMU_BATTERY_STATE 0x6b /* report
battery
state etc. */
28
#define PMU_SMART_BATTERY_STATE 0x6f /* report
battery
state (new way) */
51
#define PMU_POW_CHARGER 0x02 /*
battery
charger power */
59
#define PMU_INT_BATTERY 0x20 /*
Battery
state change */
/docs/source.android.com/src/devices/tech/
power.jd
27
Battery
usage information is derived from
battery
usage statistics and power profile
32
Battery
Usage Statistics
36
Battery
usage statistics are tracked by the framework. This involves keeping track of time
45
The service isn?t keeping track of
battery
current draw information directly. It?s collecting
46
mostly timing information so that it can be used to approximate
battery
consumption by
59
losing the information on a shutdown (such as due to
battery
reaching zero remaining
60
capacity, which may indicate a
battery
power consumption problem).
81
values for various components and their states in order to approximate the actual
battery
85
at the
battery
(and not a value applicable to a power rail that does not correspond t
[
all
...]
/device/asus/grouper/overlay/frameworks/base/core/res/res/xml/
power_profile.xml
71
<!-- This is the
battery
capacity in mAh -->
72
<item name="
battery
.capacity">3260</item>
74
Battery
capacity is 3260 mAH (at 7.4 Volts)
/device/asus/tilapia/overlay/frameworks/base/core/res/res/xml/
power_profile.xml
71
<!-- This is the
battery
capacity in mAh -->
72
<item name="
battery
.capacity">3260</item>
74
Battery
capacity is 3260 mAH (at 7.4 Volts)
/external/chromium_org/build/android/pylib/perf/
thermal_throttle.py
116
# Print temperature of
battery
, to give a system temperature
117
dumpsys_log = self._adb.RunShellCommand('dumpsys
battery
')
121
logging.debug(u'Current
battery
temperature of %s = %3.1f%sC',
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardMessageArea.java
66
// are we showing
battery
information?
75
// last known
battery
level
184
// Registering this callback immediately updates the
battery
state, among other things.
216
* Status1 is shared between help,
battery
status and generic unlock instructions,
261
//
Battery
status
269
//
Battery
is low
/external/chromium/chrome/browser/chromeos/
low_battery_observer.cc
16
: notification_(profile, "
battery
.chromeos",
57
// show: is !visible_ to visible_ triggered when we're on
battery
,
/external/chromium_org/base/power_monitor/
power_monitor_device_source_win.cc
54
//
battery
power. Returns true if running on
battery
.
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
InactivityTimer.java
33
* Finishes an activity after a period of inactivity if the device is on
battery
power.
99
// 0 indicates that we're on
battery
/frameworks/base/docs/html/training/basics/network-ops/
index.jd
24
<li><a href="{@docRoot}training/monitoring-device-state/index.html">Optimizing
Battery
Life</a></li>
25
<li><a href="{@docRoot}training/efficient-downloads/index.html">Transferring Data Without Draining the
Battery
</a></li>
/frameworks/base/packages/SystemUI/res/values/
strings.xml
61
<!-- When the
battery
is low, this is displayed to the user in a dialog. The title of the low
battery
alert. [CHAR LIMIT=NONE]-->
64
<!-- When the
battery
is low, this is displayed to the user in a dialog. The subtitle of the low
battery
alert. [CHAR LIMIT=NONE] -->
65
<string name="battery_low_subtitle">The
battery
is getting low.</string>
67
<!-- A message that appears when the
battery
level is getting low in a dialog. This is
68
appened to the subtitle of the low
battery
alert. "number" is the percentage of
battery
78
<!-- When the
battery
is low, this is the label of the button to go to the
79
power usage activity to find out what drained the
battery
. [CHAR LIMIT=30] --
[
all
...]
/device/asus/deb/overlay/frameworks/base/packages/SettingsProvider/res/values/
defaults.xml
28
Mute
battery
sounds on tablets after one hour with screen off -->
Completed in 1372 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>