/device/asus/flo/ |
thermald-flo.conf | 63 actions cpu+battery cpu+battery cpu+battery cpu+battery cpu+battery cpu+battery cpu+battery shutdown
|
/device/lge/mako/ |
thermald-mako.conf | 84 actions cpu+gpu+lcd+battery cpu+gpu+lcd+battery cpu+gpu+lcd+battery cpu+gpu+lcd+battery cpu+gpu+lcd+battery cpu+gpu+lcd+battery cpu+gpu+lcd+battery
|
/external/chromium_org/chrome/browser/chromeos/power/ |
peripheral_battery_observer.cc | 33 // When a peripheral device's battery level is <= kLowBatteryLevel, consider 34 // it to be in low battery condition. 37 // Don't show 2 low battery notification within |kNotificationIntervalSec| 41 const char kNotificationOriginUrl[] = "chrome://peripheral-battery"; 43 // HID Bluetooth device's battery sysfs entry path looks like 44 // "/sys/class/power_supply/hid-AA:BB:CC:DD:EE:FF-battery". 48 const char kHIDBatteryPathSuffix[] = "-battery"; 124 LOG(ERROR) << "Unsupported battery path " << path; 129 LOG(ERROR) << "No valid battery address at path " << path; 134 LOG(ERROR) << "Invalid battery level " << leve 157 BatteryInfo* battery = &batteries_[address]; local [all...] |
peripheral_battery_observer.h | 23 // This observer listens for peripheral device battery status and shows 24 // notifications for low battery conditions. 65 // Battery level within range [0, 100], and -1 for unknown level. 75 // Posts a low battery notification with unique id |address|. Returns true 77 bool PostNotification(const std::string& address, const BatteryInfo& battery); 81 // Record of existing battery infomation. For bluetooth HID device, the key
|
/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/lge/hammerhead/ |
thermal-engine-hammerhead.conf | 27 actions battery battery
|
/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...] |
/system/core/charger/ |
charger.c | 129 struct power_supply *battery; member in struct:charger 304 if (!charger->battery) 307 ret = read_file_int(charger->battery->cap_path, &batt_cap); 425 bool battery = false; local 444 if (!strncmp(ps_type, "Battery", 7)) 445 battery = true; 463 /* only pick up the first battery for now */ 464 if (battery && !charger->battery) 465 charger->battery = supply [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarTransitions.java | 49 mBattery = mView.findViewById(R.id.battery);
|
PhoneStatusBar.java | [all...] |
/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...] |
Watchdog.java | 237 public void init(Context context, BatteryService battery, 241 mBattery = battery;
|
/external/chromium_org/build/android/pylib/ |
android_commands.py | [all...] |
/external/chromium_org/native_client_sdk/src/doc/ |
faq.rst | 52 conserving user's battery.
|
/frameworks/base/docs/html/training/ |
training_toc.cs | 535 "How to minimize your app's impact on the battery when performing downloads 537 >Transferring Data Without Draining the Battery</a> [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
gbemu.js | [all...] |