Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 560553005: Battery impact UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « content/public/browser/power_usage_monitor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 0ead9b4e630378f2d734b956de0ae799c0cd8cf0..45a3b99dd835def03d9c3abd9925438a23477540 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -25360,6 +25360,24 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Power.BatteryDischargePercentPerHour" units="%">
+ <owner>jeremy@chromium.org</owner>
+ <summary>
+ The percentage of battery capacity used per hour relative to a full
+ battery. Reported once when the power adaptor is plugged back in after the
+ system is on battery power for more than 30 minutes. If at any point the
+ system is suspended or all Chrome renderers are closed the measurement is
+ not recorded. Anytime the user unplugs the power adaptor, a new measurement
+ will begin being recorded. Collection of this histogram only starts after 30
+ minutes of uptime at which point the clock starts (assuming the user is on
+ battery power at that point). The system will need to remain unplugged for
+ at least another 30 minutes in order for any measurement to be recorded.
+ Values are normalized to a percent per hour scale. This measurement is tied
+ tightly to hardware model/OS and is not comparable across different hardware
+ configurations.
+ </summary>
+</histogram>
+
<histogram name="Power.BatteryDischargeRate" units="mW">
<owner>derat@chromium.org</owner>
<summary>
@@ -25368,6 +25386,48 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Power.BatteryDischargeRate_15" units="%">
+ <owner>jeremy@chromium.org</owner>
+ <summary>
+ The percent of depleted battery capacity relative to a full battery over
+ the first 15 minutes after battery power collection information starts.
+ Collection of this histogram only starts after 30 minutes of uptime at which
+ point the clock starts (assuming the user is on battery power at that
+ point). The system will need to remain unplugged for at least another 15
+ minutes in order for any measurement to be recorded. Values are normalized
+ to a percent per hour scale. This measurement is tied tightly to hardware
+ model/OS and is not comparable across different hardware configurations.
+ </summary>
+</histogram>
+
+<histogram name="Power.BatteryDischargeRate_30" units="%">
+ <owner>jeremy@chromium.org</owner>
+ <summary>
+ The percent of depleted battery capacity relative to a full battery over
+ the first 30 minutes after battery power collection information starts.
+ Collection of this histogram only starts after 30 minutes of uptime at which
+ point the clock starts (assuming the user is on battery power at that
+ point). The system will need to remain unplugged for at least another 30
+ minutes in order for any measurement to be recorded. Values are normalized
+ to a percent per hour scale. This measurement is tied tightly to hardware
+ model/OS and is not comparable across different hardware configurations.
+ </summary>
+</histogram>
+
+<histogram name="Power.BatteryDischargeRate_5" units="%">
+ <owner>jeremy@chromium.org</owner>
+ <summary>
+ The percent of depleted battery capacity relative to a full battery over
+ the first 5 minutes after battery power collection information starts.
+ Collection of this histogram only starts after 30 minutes of uptime at which
+ point the clock starts (assuming the user is on battery power at that
+ point). The system will need to remain unplugged for at least another 5
+ minutes in order for any measurement to be recorded. Values are normalized
+ to a percent per hour scale. This measurement is tied tightly to hardware
+ model/OS and is not comparable across different hardware configurations.
+ </summary>
+</histogram>
+
<histogram name="Power.BatteryDischargeRateWhileSuspended" units="mW">
<owner>derat@chromium.org</owner>
<summary>
« no previous file with comments | « content/public/browser/power_usage_monitor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698