Closed
Bug 1003020
Opened 12 years ago
Closed 11 years ago
[bluez][PTS][Certification]Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S2 (23may)
People
(Reporter: shawnjohnjr, Assigned: ben.tian)
References
Details
Attachments
(3 files, 1 obsolete file)
|
1.42 KB,
patch
|
Details | Diff | Splinter Review | |
|
16.43 KB,
application/x-7z-compressed
|
Details | |
|
3.17 KB,
patch
|
shawnjohnjr
:
review+
|
Details | Diff | Splinter Review |
Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I
| Reporter | ||
Updated•12 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
| Reporter | ||
Updated•12 years ago
|
Summary: [bluez][PTS]Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I → [bluez][PTS][Certification]Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Updated•12 years ago
|
Attachment #8414304 -
Attachment description: Bug 1003020 - [bluez][PTS][Certification]Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I → Bug 1003020 - [bluez][PTS][Certification]Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I (1.3)
Attachment #8414304 -
Flags: review?(echou)
Attachment #8414304 -
Flags: feedback?(yang.xiaohong)
| Assignee | ||
Comment 2•12 years ago
|
||
iaohong, can you try if the patch corrects battery level for test case TC_AG_PSI_BV_03_I? The patch retrieves the latest battery level when HFP manager initializes, instead of keeping default level as 5.
Attachment #8414402 -
Flags: feedback?(yang.xiaohong)
| Reporter | ||
Updated•12 years ago
|
Attachment #8414304 -
Attachment is obsolete: true
Attachment #8414304 -
Flags: review?(echou)
Attachment #8414304 -
Flags: feedback?(yang.xiaohong)
| Reporter | ||
Updated•12 years ago
|
Assignee: shuang → btian
Comment 3•12 years ago
|
||
Still failed after patch1. logs see attachment.
Comment 4•12 years ago
|
||
Dose this patch compiled in libxul.so?
adb push E:\Logs\FFOS\BQB\libxul.so /system/b2g. Is it correct?
| Assignee | ||
Comment 5•12 years ago
|
||
(In reply to yang.xiaohong from comment #3)
> Created attachment 8417865 [details]
> TC_AG_PSI_BV_03_I.7z
>
> Still failed after patch1. logs see attachment.
The failure is similar to bug 981458. Did your build have the fix?
https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/b021cf83cb5d
Comment 6•12 years ago
|
||
Yes, the build contains this fix already. ---> SendCommand("+CIEV: ", CINDType::BATTCHG);
| Reporter | ||
Comment 7•12 years ago
|
||
(In reply to yang.xiaohong from comment #6)
> Yes, the build contains this fix already. ---> SendCommand("+CIEV: ",
> CINDType::BATTCHG);
But based on your log, Attachment 8417865 [details],
145 Master 46 ..+CIEV:1.. Battery charge indicator's status report
frame 145, seems to miss that patch, I did not see any empty space after '+CIEV:'.
https://bugzilla.mozilla.org/show_bug.cgi?id=981458#c20 shows this test case had been passed. Can you confirm again? Maybe you can add log such as 'BT_LOGR("battery update indicator");'?
| Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(yang.xiaohong)
Comment 8•12 years ago
|
||
hi Shawn,
We retried this patch, it works. I think the lab QA pushed .so file incorrectly last time.
Thanks a lot!
Flags: needinfo?(yang.xiaohong)
| Reporter | ||
Comment 9•12 years ago
|
||
(In reply to yang.xiaohong from comment #8)
> hi Shawn,
> We retried this patch, it works. I think the lab QA pushed .so file
> incorrectly last time.
> Thanks a lot!
Let apply it on master first.
Flags: needinfo?(btian)
| Reporter | ||
Comment 10•12 years ago
|
||
(In reply to Shawn Huang [:shuang] [:shawnjohnjr] from comment #9)
> (In reply to yang.xiaohong from comment #8)
> > hi Shawn,
> > We retried this patch, it works. I think the lab QA pushed .so file
> > incorrectly last time.
> > Thanks a lot!
> Let apply it on master first.
(unexpected to submit comments)
Let's apply it on master first. It looks like Sora can pass this test without patch.
| Assignee | ||
Comment 11•12 years ago
|
||
Attachment #8420883 -
Flags: review?(shuang)
Flags: needinfo?(btian)
| Reporter | ||
Comment 12•12 years ago
|
||
Comment on attachment 8420883 [details] [diff] [review]
Patch 1: (m-c) Update to the latest battery level when HFP manager inits
Review of attachment 8420883 [details] [diff] [review]:
-----------------------------------------------------------------
Based on Comment 8. It shall be good to go!
Attachment #8420883 -
Flags: review?(shuang) → review+
| Assignee | ||
Comment 13•11 years ago
|
||
| Assignee | ||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
| Assignee | ||
Updated•10 years ago
|
Attachment #8414402 -
Flags: feedback?(yang.xiaohong)
You need to log in
before you can comment on or make changes to this bug.
Description
•