Telemetry probe for battery consumption while Fenix is in the foreground.
Categories
(Firefox for Android :: Performance, enhancement)
Tracking
()
People
(Reporter: mleclair, Assigned: mleclair)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
2.26 KB,
text/plain
|
royang
:
data-review+
|
Details |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Right now , there is not much understanding on how much power we consume on android. This probe would allow us to look into how much battery we drain every X seconds (up to us to decide, I think 15 seconds is a good starting point).
I propose we use the android api that offers a battery counter in nanowatt hours which is somewhat accurate. This counter will decrease before the phone battery % decreases (at least on my s21 and pixel 6). For instance, on my S21, I would get a reading of 268000 -> 267990 -> 267973 , etc... before it moved from 66% to 65%.
Assignee | ||
Comment 1•1 year ago
|
||
datarevoew |
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Comment 3•1 year ago
|
||
Comment on attachment 9398411 [details]
Data review
DATA COLLECTION REVIEW RESPONSE:
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, through the metrics.yaml file and the Glean Dictionary.
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.
- If the request is for permanent data collection, is there someone who will monitor the data over time?
mleclair@mozilla.com and perf-telemetry-alerts@mozilla.com will be responsible for monitoring the data over time
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 1, Technical data
- Is the data collection request for default-on or default-off?
Default on for all channels.
- Does the instrumentation include the addition of any new identifiers?
No
- Is the data collection covered by the existing Firefox privacy notice?
Yes
- Does the data collection use a third-party collection tool?
No
Result: data-review+
Assignee | ||
Comment 4•1 year ago
|
||
WIP with three different ways of doing it. Tried to tie it to the application lifecycle
Added a marker for battery consumption as well.
Assignee | ||
Comment 5•1 year ago
|
||
WIP with three different ways of doing it. Tried to tie it to the application lifecycle
Added a marker for battery consumption as well.
Updated•1 year ago
|
Updated•1 year ago
|
Description
•