We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 354f853 commit bd2ddf9Copy full SHA for bd2ddf9
_layouts/default.html
@@ -121,7 +121,9 @@
121
return;
122
}
123
124
- // Categorise and bucket high-cardinality metrics.
+ // Categorise and bucket high cardinality metrics.
125
+
126
+ // Convert battery to a number out of 100 and round up to the nearest 5%.
127
function bucketBattery(level) {
128
return level != null ? Math.min(100, Math.ceil(level * 100 / 5) * 5) : null;
129
0 commit comments