/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/tools/telemetry/telemetry/core/platform/power_monitor/ |
cros_power_monitor.py | 79 True if the device is on battery power; False otherwise. 83 # Check battery discharge state to confirm. 85 on_battery |= status['Battery']['state'] == 'Discharging' 92 True if the device is on battery power; False otherwise. 145 initial_power_mw = float(initial['Battery']['energy rate']) * 10 ** 3 146 final_power_mw = float(final['Battery']['energy rate']) * 10 ** 3 150 # Duplicating CrOS battery fields where applicable. 151 battery = {} 152 battery['charge_full'] = float(final['Battery']['full charge'] [all...] |
/external/chromium_org/chrome/browser/chromeos/power/ |
peripheral_battery_observer.cc | 34 // When a peripheral device's battery level is <= kLowBatteryLevel, consider 35 // it to be in low battery condition. 38 // Don't show 2 low battery notification within |kNotificationIntervalSec| 42 const char kNotificationOriginUrl[] = "chrome://peripheral-battery"; 44 // HID Bluetooth device's battery sysfs entry path looks like 45 // "/sys/class/power_supply/hid-AA:BB:CC:DD:EE:FF-battery". 49 const char kHIDBatteryPathSuffix[] = "-battery"; 125 LOG(ERROR) << "Unsupported battery path " << path; 130 LOG(ERROR) << "No valid battery address at path " << path; 135 LOG(ERROR) << "Invalid battery level " << leve 158 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-8974.conf | 27 actions battery battery
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarTransitions.java | 49 mBattery = mView.findViewById(R.id.battery);
|
KeyguardStatusBarView.java | 141 ((BatteryMeterView) findViewById(R.id.battery)).setBatteryController(batteryController);
|
/external/chromium_org/ash/system/tray/ |
system_tray.cc | 406 base::string16 battery = base::ASCIIToUTF16(""); local 408 battery = PowerStatus::Get()->GetAccessibleNameString(false); 411 IDS_ASH_STATUS_TRAY_ACCESSIBLE_DESCRIPTION, time, battery);
|
/external/chromium_org/build/android/buildbot/ |
bb_device_status_check.py | 59 logging.error('Unable to obtain battery info for %s, %s', serial, e) 76 ' Current Battery Service state: ', 86 errors += ['Device critically low in battery. Turning off device.'] 97 # Turn off devices with low battery. 365 for serial, battery in zip(devices, batteries): 367 [battery], '%', 382 # devices with critically low battery. Remove those devices from testing,
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
power.js | 520 * Display the battery charge vs time on a line graph. 526 * with fields representing the battery charge, time when the charge 618 plotsDiv = $('battery-charge-plots-div'); 848 $('battery-charge-section').hidden = true; 849 $('battery-charge-show-button').onclick = showHideCallback( 850 'battery-charge-section', 851 'battery-charge-show-button', 853 $('battery-charge-reload-button').onclick = requestBatteryChargeData;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
website_settings_handler.cc | 41 const char kBattery[] = "battery"; 568 int battery = 0; local 569 battery = OriginPowerMapFactory::GetForBrowserContext( 635 IDS_WEBSITE_SETTINGS_BATTERY_USED, battery));
|
/external/chromium_org/third_party/WebKit/Source/modules/ |
modules.target.darwin-arm.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.darwin-arm64.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.darwin-mips.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.darwin-mips64.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.darwin-x86.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.darwin-x86_64.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.linux-arm.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.linux-arm64.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.linux-mips.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.linux-mips64.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.linux-x86.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |
modules.target.linux-x86_64.mk | 131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \ 132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \ 133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \ 134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \ [all...] |