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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S2 (23may)

People

(Reporter: shawnjohnjr, Assigned: ben.tian)

References

Details

Attachments

(3 files, 1 obsolete file)

Refine battery level calculation for indicator test case TC_AG_PSI_BV_03_I
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
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
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)
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)
Attachment #8414304 - Attachment is obsolete: true
Attachment #8414304 - Flags: review?(echou)
Attachment #8414304 - Flags: feedback?(yang.xiaohong)
Assignee: shuang → btian
Attached file TC_AG_PSI_BV_03_I.7z
Still failed after patch1. logs see attachment.
Dose this patch compiled in libxul.so? adb push E:\Logs\FFOS\BQB\libxul.so /system/b2g. Is it correct?
(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
Yes, the build contains this fix already. ---> SendCommand("+CIEV: ", CINDType::BATTCHG);
(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");'?
Flags: needinfo?(yang.xiaohong)
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)
(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)
(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.
Attachment #8420883 - Flags: review?(shuang)
Flags: needinfo?(btian)
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+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
Attachment #8414402 - Flags: feedback?(yang.xiaohong)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: