diff options
author | Android Partner Docs <noreply@android.com> | 2017-06-19 21:12:35 -0700 |
---|---|---|
committer | Clay Murphy <claym@google.com> | 2017-06-20 13:09:22 -0700 |
commit | d72514453123a8634ae55406807d77f03362a2bd (patch) | |
tree | b528f70cbfa22decfea5899870efc1a42e7b7778 /en/devices/tech/power/device.html | |
parent | 8560a623b8040782583740e9dd1cbc4be310a568 (diff) | |
download | source.android.com-d72514453123a8634ae55406807d77f03362a2bd.tar.gz |
Docs: Changes to source.android.com
- 159519221 Add CTS Media 1.3 file link by claym <claym@google.com>
- 159296442 Changed devsite tag classes on a couple pages. by cqn <cqn@google.com>
- 159296357 Add devsite class to tags in devices/tech/power by cqn <cqn@google.com>
- 159296314 Added devsite class to tags in compatibility/cts. by cqn <cqn@google.com>
- 159296265 Added devsite class to tags in devices/tech/ota. by cqn <cqn@google.com>
- 159273197 Added devsite class to tags for devices/tech/test_infra/t... by cqn <cqn@google.com>
- 159269559 Add speed-profile and verify-profile to the list of options by claym <claym@google.com>
- 159268556 Add devsite class to tags in devices/tech/display by cqn <cqn@google.com>
- 159247742 Add devsite class to tags in devices/tech/admin by cqn <cqn@google.com>
- 159246177 Finished adding devsite class to tags on devices/tech/debug by cqn <cqn@google.com>
- 159245597 Add devsite tag to classes in devices/tech/debug by cqn <cqn@google.com>
- 159128910 Changed breaks to paragraph tags for formatting, and adde... by cqn <cqn@google.com>
- 159115811 Add devsite class to tags for devices/tech/config by cqn <cqn@google.com>
- 159115392 Added devsite class to tags on devices/tech/connect and d... by cqn <cqn@google.com>
- 159114997 Add devsite class to tags in devices/storage and devices/tv by cqn <cqn@google.com>
- 158948331 Provide advice to OEM and carrier app developers to reduc... by Android Partner Docs <noreply@android.com>
- 158920824 Add devsite class to tags in devices/tech/dalvik by cqn <cqn@google.com>
- 158917965 Fix links to sensors.h reference file by claym <claym@google.com>
- 158916603 Docs: moving gdb to own page, updating index by hvm <hvm@google.com>
- 158915436 Update Security acknowledgement with new researcher info by daroberts <daroberts@google.com>
- 158883841 Finish adding devsite class to tags in devices/audio by cqn <cqn@google.com>
- 158883680 Add devsite class to tags in devices/sensors and devices/... by cqn <cqn@google.com>
- 158871012 Improve Jack deprecation warning message. by gdimino <gdimino@google.com>
- 158867373 Add devsite classes to tags for devices/graphics by cqn <cqn@google.com>
- 158867298 Added devsite classes to tags in devices/input by cqn <cqn@google.com>
- 158867192 Add devsite classes to tags in devices/camera and devices... by cqn <cqn@google.com>
PiperOrigin-RevId: 159519221
Change-Id: I924de0c1668bcbcc94ee97e60c144aac4c81708d
Diffstat (limited to 'en/devices/tech/power/device.html')
-rw-r--r-- | en/devices/tech/power/device.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en/devices/tech/power/device.html b/en/devices/tech/power/device.html index 160cbb18..88443663 100644 --- a/en/devices/tech/power/device.html +++ b/en/devices/tech/power/device.html @@ -45,7 +45,7 @@ consumption between configurations.</p> <p>To read power consumption data, insert calls to the API in your testing code.</p> -<pre> +<pre class="prettyprint"> import android.os.BatteryManager; import android.content.Context; BatteryManager mBatteryManager = @@ -59,7 +59,7 @@ Slog.i(TAG, "Remaining energy = " + energy + "nWh"); <p>Android supports the following battery fuel gauge properties:</p> -<pre> +<pre class="devsite-click-to-copy"> BATTERY_PROPERTY_CHARGE_COUNTER Remaining battery capacity in microampere-hours BATTERY_PROPERTY_CURRENT_NOW Instantaneous battery current in microamperes BATTERY_PROPERTY_CURRENT_AVERAGE Average battery current in microamperes |