Battery | Capacity |
---|---|
CR1632 | 140 mAh |
CR2032 | 225 mAh |
CR2450 | 620 mAh |
CR2477 | 1000 mAh |
AAA | 1200 mAh |
AA | 2500 mAh |
Updated January, 2015
Below is a layer-by-layer breakdown of how I test my Python projects, starting with my Github repository and ending with the test files themselves.
Testing begins with Travis-CI, which hooks into your Github repository to automatically run tests on pull requests and current production branches. It provides a nice visual representation of when tests are failing and a decent overview of all the tests scheduled to run. Travis integration is run through a .travis.yml
file in the main project repository. Although Travis is itself a capable test runner, it is important to maintain the ability to run tests locally without having to submit a pull request to test. That's why we'll be using test runners such as tox as described below.
Idle mode is a state where the phone has no network connectivity and apps are temporarily suspended. Idle mode gets triggered by one of two ways: an asleep, still, unplugged phone (Doze mode), and when an app has not been opened in a significant amount of time (App Standby Mode). During idle mode via Doze, the phone will wake up periodically for a short amount of time, allowing apps to run and use network connectivity. Using several different methods outlined below, it is possible to wake apps up during idle mode outside of these maintenance windows.
1 hour of being still after the screen turns off.
TBD
<?xml version="1.0"?> | |
<root> | |
<!-- Shell Commands --> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_unlock_android_screen</name> | |
<url type="shell"> | |
<![CDATA[ | |
~/Library/Android/sdk/platform-tools/adb shell input keyevent 82 | |
]]> | |
</url> |
# This is written for PYTHON 3 | |
# Don't forget to install requests package | |
import requests | |
import json | |
spaceId = 'your space ID here' | |
apiToken = 'your api token here' | |
url = 'https://api.robinpowered.com/v1.0/spaces/{}/presence'.format(spaceId) |
// List the full gradle dependencies for an Android app | |
./gradlew app:dependencies -q |
'use strict'; | |
function getDependencies(funcs) { | |
const dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs | |
if (!dependencies.every(dep => typeof dep === 'function')) { | |
const dependencyTypes = dependencies.map( | |
dep => typeof dep | |
).join(', ') | |
throw new Error( |
Some Google Play store research for setting up private beta channels for Managed Devices.
Note the difference between:
Play Store: play.google.com/
Managed Play Store: play.google.com/work
https://support.google.com/googleplay/android-developer/answer/3131213
Specifically the following section:
adb logcat '*:W' > logcatWarningsAndErrors.txt |