Closed
Bug 891692
Opened 11 years ago
Closed 7 years ago
[Per app power metering] - Calculate Wifi scan usage
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: glai, Assigned: gavin09)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
Get timestamp in scanCommand function and WifiManager.onscanresultsavailable function to know the duration of wifi scan.
Attachment #780783 -
Flags: feedback?(vchang)
Updated•11 years ago
|
Assignee: nobody → glai
Reporter | ||
Updated•11 years ago
|
Comment 2•11 years ago
|
||
Comment on attachment 780783 [details] [diff] [review]
Bug-891692-wifi-scan.patch
Review of attachment 780783 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/power/PowerStatsService.jsm
@@ +368,5 @@
> }
> +
> + if (index === "wifiscan") {
> + if (item === "start") {
> + systemPowerInfo[index].startTime = parseInt(timeStamp, DECIMAL);
We can return here immediately to prevent going down each time.
Attachment #780783 -
Flags: feedback?(vchang) → feedback+
Reporter | ||
Updated•11 years ago
|
Assignee: glai → gavin09
Reporter | ||
Updated•11 years ago
|
Attachment #780783 -
Attachment is obsolete: true
Updated•10 years ago
|
Blocks: b2g-metering-usage
Comment 4•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•