Closed Bug 823346 Opened 12 years ago Closed 12 years ago

[Bluetooth][Hfp] Updating status change of Battery level

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21
blocking-b2g tef+
Tracking Status
firefox20 --- wontfix
firefox21 --- fixed
b2g18 + fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- fixed

People

(Reporter: echou, Assigned: gyeh)

References

Details

Attachments

(3 files, 3 obsolete files)

To update Battery status change to connected HFP devices, we need to implement [4.7 Transfer of Battery Level Indication of AG], HFP spec 1.6. This is a follow-up to bug 820157.
Assignee: nobody → gyeh
Eric, please help to review Bluetooth part.
Attachment #698601 - Flags: review?(echou)
Comment on attachment 698599 [details] [diff] [review] Patch 1(v1): Notify observers when battery level changes Mounir, not sure who shall be reviewer of the BatteryManager part. Please help to review or re-direct to the right person. Thanks.
Attachment #698599 - Flags: review?(mounir)
Comment on attachment 698599 [details] [diff] [review] Patch 1(v1): Notify observers when battery level changes Review of attachment 698599 [details] [diff] [review]: ----------------------------------------------------------------- You actually don't need to add that. You just need to register for battery observing with Hal (See RegisterBatteryObserver in Hal.h). You can see how to use it by looking at BatteryManager's code.
Attachment #698599 - Flags: review?(mounir) → review-
Attachment #698599 - Attachment is obsolete: true
Attachment #698601 - Attachment is obsolete: true
Attachment #698601 - Flags: review?(echou)
Attachment #699548 - Flags: review?(echou)
Comment on attachment 699548 [details] [diff] [review] Patch 1(v2): Register battery observing with Hal and update battery status Review of attachment 699548 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, sorry for the late review. :)
Attachment #699548 - Flags: review?(echou) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
tracking-b2g18: --- → ?
Please nominated for uplift approval with a risk assessment.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): no User impact if declined: would miss a Bluetooth HFP feature which is neccesary for certification Testing completed: mozilla-central Risk to taking this patch (and alternatives if risky): Fairly low. What we've done in this patch is listening to the battery status and updating to remote device. String or UUID changes made by this patch: no
Attachment #729434 - Flags: approval-mozilla-b2g18?
Comment on attachment 729434 [details] [diff] [review] patch 1: for b2g18, r=echou Approving low risk HFB patches to bring us closer to spec.
Attachment #729434 - Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
This bug(and other 9 bugs) block Bluetooth certification. So, these bugs need to be marked as tef+ and landed to v1.0.1 in order to pass Bluetooth certification: bug 827255 bug 827212 bug 827266 bug 828175 bug 823346 bug 827230 bug 828798 bug 835740 bug 846647 bug 828160 So, mark these bugs as tef?. These fixes have some dependency and it would be better to have them landed in a specific order. Gina has a good view on this.
blocking-b2g: --- → tef?
I recommend to land these patches in the following order: 01. bug827204 02. bug827255 03. bug823346 04. bug827230 05. bug828798 06. bug827212, patch 1 06. bug827212, patch 2 07. bug827266 08. bug828175 09. bug846647 10. bug825861 11. bug825851 12. bug835740 I'm going to attach patches for b2g18_v1_0_1 for each bug. Please land them in the above order. There should be no conflict and feel free to let me know if I can be any help.
blocking-b2g: tef? → tef+
I suspect this hasn't been uplifted since v1.0.1 was still marked as wontfix.
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: