Closed
Bug 1127226
Opened 10 years ago
Closed 10 years ago
[Wifi] Modify wifi power saving mode on gaia.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
2.2 S8 (20mar)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: amchung, Assigned: amchung, Mentored)
Details
Attachments
(1 file, 1 obsolete file)
Base on Bug 1084156 [WIFI] While screen on WiFi do not enter power save mode when there is no traffic, already added power saving when wifi init.
So it doesn't need to turn on power saving mode when screen off and unplugged.
Assignee | ||
Updated•10 years ago
|
Attachment #8556350 -
Attachment is obsolete: true
Assignee | ||
Comment 1•10 years ago
|
||
Dear Seinlin,
I have removed the power saving mode when screen off and unplugged, and modified unit test case.
Please help me to confirm this modification.
Flags: needinfo?(kli)
Attachment #8568438 -
Flags: feedback?(kli)
Assignee | ||
Comment 3•10 years ago
|
||
Dear Seinlin,
I have removed the power saving mode when wifi wake lock, and modified unit test case.
Please help me to confirm this modification.
Thanks!
Flags: needinfo?(kli)
Comment 4•10 years ago
|
||
Amy, I notice the following two points:
1. I think 'Test wifi should be turned on and in power saving mode' should be modified only. It should not be removed entirely.
2. Please also modify 'Test wifi should stay disabled', as comment on PR.
Could you also go through other test cases with similar conditions?
Flags: needinfo?(kli)
Comment 5•10 years ago
|
||
Comment on attachment 8568438 [details] [review]
Modified power saving mode when screen off and unplugged.
Cancel the request. Ping me again when you finished as my comment.
Attachment #8568438 -
Flags: feedback?(kli)
Assignee | ||
Comment 6•10 years ago
|
||
Dear Seinlin,
I modified the unit test case and sleep function in wifi.js.
Please help me to review it.
Thanks!
Flags: needinfo?(kli)
Comment 7•10 years ago
|
||
Comment on attachment 8568438 [details] [review]
Modified power saving mode when screen off and unplugged.
Arthur, In bug 1084156, wifi power save mode is controlled in gecko. So I think the control in system app should be removed.
Could you review this patch? Thanks!
Flags: needinfo?(kli)
Attachment #8568438 -
Flags: review?(arthur.chen)
Attachment #8568438 -
Flags: feedback+
Comment 8•10 years ago
|
||
Comment on attachment 8568438 [details] [review]
Modified power saving mode when screen off and unplugged.
It would be better to have system owner/peer review this patch. Redirect the request to Alive.
Attachment #8568438 -
Flags: review?(arthur.chen) → review?(alive)
Comment 9•10 years ago
|
||
Comment on attachment 8568438 [details] [review]
Modified power saving mode when screen off and unplugged.
There is one testing failure and several linting errors, please fix them.
The unit test failure is because you removed the declaration of 'request' but used it at https://github.com/tefn3849/gaia/blob/wifi_1127226/apps/system/js/wifi.js#L284
Attachment #8568438 -
Flags: review?(alive)
Assignee | ||
Comment 10•10 years ago
|
||
Dear Seinlin,
I have modified it, please help me to confirm it.
Thanks!
Flags: needinfo?(kli)
Comment 11•10 years ago
|
||
From try result, unit test is passed. But there is a gjslint error
--
TEST-UNEXPECTED-FAIL | apps/system/test/unit/wifi_test.js | Line 443, E:0121: Illegal comma at end of object literal
--
You should fix this and then request for review from alive.
Flags: needinfo?(kli)
Assignee | ||
Comment 12•10 years ago
|
||
Dear Seinlin,
I have modified it, please help me to confirm it.
Thanks!
Flags: needinfo?(kli)
Assignee | ||
Comment 14•10 years ago
|
||
Comment on attachment 8568438 [details] [review]
Modified power saving mode when screen off and unplugged.
Dear Alive,
Please help me to review this patch.
Thanks!
Attachment #8568438 -
Flags: review?(alive)
Comment 15•10 years ago
|
||
Comment on attachment 8568438 [details] [review]
Modified power saving mode when screen off and unplugged.
r=me with nits addressed: remove unwanted stub and restore.
Attachment #8568438 -
Flags: review?(alive) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 16•10 years ago
|
||
Assignee: nobody → amchung
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S8 (20mar)
You need to log in
before you can comment on or make changes to this bug.
Description
•