Closed
Bug 891692
Opened 13 years ago
Closed 8 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)
|
5.84 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Comment 1•13 years ago
|
||
Get timestamp in scanCommand function and WifiManager.onscanresultsavailable function to know the duration of wifi scan.
Attachment #780783 -
Flags: feedback?(vchang)
Updated•12 years ago
|
Assignee: nobody → glai
| Reporter | ||
Updated•12 years ago
|
Comment 2•12 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•12 years ago
|
Assignee: glai → gavin09
| Reporter | ||
Updated•12 years ago
|
Attachment #780783 -
Attachment is obsolete: true
Updated•12 years ago
|
Blocks: b2g-metering-usage
Comment 4•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•