Closed Bug 1257618 Opened 8 years ago Closed 8 years ago

Kill bogus "When charging, level should increase!" warning

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(firefox48 fixed)

RESOLVED FIXED
Firefox 48
Tracking Status
firefox48 --- fixed

People

(Reporter: ahunt, Assigned: ahunt)

Details

Attachments

(1 file)

It's valid for the battery level to decrease while connected to a power source. Let's not spam the logcat with warnings when this happens (it's only about 4x per hour, but still annoying).

The most common situation is when the battery is fully charged, the battery level oscillates between 99% and 100% (at least on the devices I'm developing on).

And from rnewman on IRC "it's also totally valid for a phone to pull more power than a low-power USB cable can supply".
Assignee: nobody → ahunt
Status: NEW → ASSIGNED
The battery level can decrease while we're trying to charge. Most commonly
many devices oscillate between 99% and 100% when fully charged. This situation
could also happen if the device is receiving less power than it's using. Therefore
we shouldn't treat this as an extraordinary situation.

Review commit: https://reviewboard.mozilla.org/r/40849/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/40849/
Attachment #8731811 - Flags: review?(snorp)
Comment on attachment 8731811 [details]
MozReview Request: Bug 1257618 - Kill bogus "level should increase" when charging message r?snorp

https://reviewboard.mozilla.org/r/40849/#review37389
Attachment #8731811 - Flags: review?(snorp) → review+
https://hg.mozilla.org/integration/fx-team/rev/6db8a54fb215eaf8821e829eb1885a2311817fcc
Bug 1257618 - Kill bogus "level should increase" when charging message r=snorp
https://hg.mozilla.org/mozilla-central/rev/6db8a54fb215
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.