Closed
Bug 856946
Opened 12 years ago
Closed 12 years ago
Voice call power numbers are regressed
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-b2g:tef+, b2g18 verified, b2g18-v1.0.1 verified)
VERIFIED
FIXED
blocking-b2g | tef+ |
People
(Reporter: vasanth, Assigned: alive)
References
Details
(Whiteboard: [CR 472750])
Attachments
(1 file)
The regression caused by bug 828283 is not completely resolved in bug 853454.
voice call power numbers are still not good.
Before regression, during voice call, apps processor was able to power collapse (sleep). That was also broken but not fixed in bug 853454 patch
Below statement in ScreenManager.js blocks cpu sleep during voice call and
because of that power numbers are high
power.cpuSleepAllowed = (this._cpuState != 'locked-foreground' &&
this._cpuState != 'locked-background' &&
!this._audioActive);
CPU sleep should be allowed during voice call as it was before.
Comment 1•12 years ago
|
||
(tef? as I suggest triage consider this for v1.0.1)
blocking-b2g: --- → tef?
Andrea or Alive, would either of you be able to look into this?
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Assignee | ||
Comment 3•12 years ago
|
||
Andrew, please check if patch of bug 828283 still needs cpu sleep part per this issue.
Assignee | ||
Comment 5•12 years ago
|
||
:mchen is helping to find out cpu backend sleep/idle strategy so ni? from him if he gets progress.
Before we understand the strategy I'm leaving this bug because it seems ir-relavant to bug 828283 per :mchen.
Flags: needinfo?(mchen)
Assignee | ||
Comment 6•12 years ago
|
||
After discussion w/ mchen I made a WIP about ignoring telephony channel,
vasanth@codeaurora.org please help to check if this works:
https://github.com/mozilla-b2g/gaia/pull/9061
Flags: needinfo?(mchen) → needinfo?(vasanth)
Updated•12 years ago
|
Whiteboard: [CR 472750]
Assignee | ||
Comment 7•12 years ago
|
||
Hi Michael, could you help to find someone to verify the fix? We're not able to estimate power usage by ourself. Thanks.
Comment 8•12 years ago
|
||
The ni on vasanth was sufficient actually, he'll verify tomorrow IST
It works. With this change apps processor goes to power collapse and also voice call power numbers are back to normal.
Please mainline this change and we can close this issue.
Flags: needinfo?(vasanth)
Updated•12 years ago
|
status-b2g18:
--- → affected
status-b2g18-v1.0.1:
--- → affected
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to vasanth from comment #9)
> It works. With this change apps processor goes to power collapse and also
> voice call power numbers are back to normal.
> Please mainline this change and we can close this issue.
Thanks for verifying so now we know what's the root cause, but I am willing to discuss with audio backend guys to see if there's a proper solution because this one is just a shortcut. I'll update on this bug soon, tomorrow or the first day in work week. If we confirmed that no any other quick way I will set the patch into review process and close this one.
:mchen and :baku, we have to either create a follow-up one or figure out a formal solution about this one.
According to our discussion, :baku added this to avoid the app playing audio keeps cpu on the platform other than our current platform. I didn't know this when doing review but now I think it's a little strange to deal with hardware difference in gaia with an obscure way.
Comment 11•12 years ago
|
||
Why do you think "our current platform" (what does that mean BTW) is not affected?
Comment 12•12 years ago
|
||
Alive, feel free to open up a follow-on bug if you think we can do this in a cleaner way on master. But for v1.0.1 we need your minimal patch landed asap to get voice power numbers back to their expected values.
Assignee | ||
Comment 13•12 years ago
|
||
(In reply to Michael Vines [:m1] [:evilmachines] from comment #12)
> Alive, feel free to open up a follow-on bug if you think we can do this in a
> cleaner way on master. But for v1.0.1 we need your minimal patch landed
> asap to get voice power numbers back to their expected values.
Yap, per discussion it sounds like there's no other way now, so I'll do what you suggest tomorrow. Thanks.
Assignee | ||
Comment 14•12 years ago
|
||
Patch v1:
Don't keep CPU awaken when telephony channel is active.
Attachment #737135 -
Flags: review?(timdream)
Comment 15•12 years ago
|
||
Comment on attachment 737135 [details]
https://github.com/mozilla-b2g/gaia/pull/9061
Looks good for v1.0.1. Need a better commit message though.
Attachment #737135 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 16•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 18•12 years ago
|
||
v1-train: f95de9db1131ffbe71b83cffd4bcd3168bb0d30e
v1.0.1: ba0538727eabc7f49fbd402a823cf62d923e3a4c
Comment 19•12 years ago
|
||
This has been verified fixed on Unagi Build ID: 20130429070204
Environmental Variables:
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/49a908f052ec
Gaia: e26eadbc598bd09c80192016c1024a4a999a5361
This has also been verified fixed on Inari Build ID: 20130429070204
Kernel Date: Feb 21
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/45aa5ba0ed53
Gaia: cf2d4136f0ebc66039637fdbeb72ed184dfbc0f2
CPU sleep functions properly while using voicemail.
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•