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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: glai, Assigned: gavin09)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Blocks: 854200
Attached patch Bug-891692-wifi-scan.patch (obsolete) (deleted) — Splinter Review
Get timestamp in scanCommand function and WifiManager.onscanresultsavailable function to know the duration of wifi scan.
Attachment #780783 - Flags: feedback?(vchang)
Assignee: nobody → glai
No longer blocks: 854200
Depends on: 854200
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+
Assignee: glai → gavin09
Attachment #780783 - Attachment is obsolete: true
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.

Attachment

General

Created:
Updated:
Size: