Closed Bug 1003912 Opened 11 years ago Closed 7 years ago

[B2G][Browser]Websites that load slowly drains device battery at alarming rate at nydailynews.com

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:backlog, b2g-v1.3 affected, b2g-v1.3T affected, b2g-v1.4 affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v1.3 --- affected
b2g-v1.3T --- affected
b2g-v1.4 --- affected

People

(Reporter: mclemmons, Unassigned)

References

()

Details

(Keywords: perf, Whiteboard: [c=power p= s= u=tarako] [tarako-exploratory][Power:P2])

Attachments

(1 file)

Attached file Firewatch Log
User taps browser app and goes to URL that loads very slowly (nydailynews.com, mlb.com, tvguide.com). As the web page struggles to load, the battery percentage in Settings decreases at rate of 1-1.5% per minute. Prerequisites: Have an active internet connection and clear browsing history and clear cookies and stored data Repro Steps: 1) Updated Tarako to BuildID: 20140429014002 2) Tap Browser App 3) Navigate to a website URL that has intense graphics and/or takes long to load (i.e. nydailynews.com) 4) While the page is loading, tap homescreen button and tap Settings 5) Observe the battery percentage 6) Repeat steps 4 and 5 every minute or so Actual: Battery percentage decreases at rate of 1 percent per minute Expected: Battery percentage decreases at rate 1 percent every 3-5 minutes Notes: Repro frequency: 10/10 – 100 percent for nydailynews.com See attached: Firewatch, Video Clip = https://www.youtube.com/watch?v=kz1YeUs0XJE Other: Tested with Data Connection only, Wifi not available using this Tarako build. Environmental Variables: Device: Tarako 1.3T MOZ BuildID: 20140429014002 Gaia: b5adc5a943d3abbd6ab070a47c847f2c24891cc5 Gecko: e9890f5d4709 Version: 28.1 Firmware Version: sp6821a_gonk4.0_user.pac
This issue does reproduce on 1.3 Buri. Following the STR in Comment 0, battery life decreased for nydailynews.com by 3 percent in under a minute. Environmental Variables: Device: Buri 1.3 MOZ BuildID: 20140429024001 Gaia: caab7a78f0c04913f48a3051259663ee85625906 Gecko: f84a8ffbc552 Version: 28.0 Firmware Version: v1.2-device.cfg
blocking-b2g: --- → 1.3T?
Keywords: perf
Priority: -- → P1
Whiteboard: [tarako-exploratory] → [tarako-exploratory][c=power p= s= u=]
ni? James
Flags: needinfo?(james.zhang)
(In reply to mclemmons from comment #1) > This issue does reproduce on 1.3 Buri. Following the STR in Comment 0, > battery life decreased for nydailynews.com by 3 percent in under a minute. > > Environmental Variables: > Device: Buri 1.3 MOZ > BuildID: 20140429024001 > Gaia: caab7a78f0c04913f48a3051259663ee85625906 > Gecko: f84a8ffbc552 > Version: 28.0 > Firmware Version: v1.2-device.cfg So it's common issue, not tarako only?
Flags: needinfo?(james.zhang)
Yes, it looks like a common issue. We'll need to investigate that for b2g in general I think?
I'll test this with my battery harness tomorrow, and see how it shows up.
So I'm seeing a spike in power usage from normal idle current to about 60% higher, every minute, for 10-20 seconds, with the browser in the background on nydailynews.com. This is on a Tarako, running latest nightly engineering build (1.3T). Gaia c067cc717c4a3bb8b412f28f37d224eb84b639df Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/8eebf8120dbd BuildID 20140505164002 Version 28.1
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #4) > Yes, it looks like a common issue. We'll need to investigate that for b2g > in general I think? Not blocking on this as this is reproducible in other branches as well and not tarako specific.
blocking-b2g: 1.3T? → -
This issue is reproducible on 1.4 Flame. Navigating to the website nydailynews.com with a low battery (12%) caused a battery slip to 10 percent in less than 1 minute. Environmental Variables: Device: Flame 1.4 MOZ BuildID: 20140515000202 Gaia: 2e97bee6bb79d3577dba1bf2a1bbfcba64ee99ab Gecko: 0cb91945f404 Version: 30.0 Base: v10F-3
I think this should be investigated to see how much we can reduce in power consumption.
blocking-b2g: - → backlog
Until someone actually starts working on this, I'm going to reduce it to a P2
Priority: P1 → P2
Whiteboard: [tarako-exploratory][c=power p= s= u=] → [c=power p= s= u=tarako] [tarako-exploratory]
Could it be the rendering of the loading animated GIF that is draining power so quickly? We have optimised this in the past for CPU usage though and the GIF hasn't been updated for 2 years (except to add larger versions).
blocking-b2g: backlog → ---
Whiteboard: [c=power p= s= u=tarako] [tarako-exploratory] → [c=power p= s= u=tarako] [tarako-exploratory][Power]
Summary: [B2G][Tarako][Browser]Websites that load slowly drains device battery at alarming rate → [B2G][Browser]Websites that load slowly drains device battery at alarming rate at nydailynews.com
Whiteboard: [c=power p= s= u=tarako] [tarako-exploratory][Power] → [c=power p= s= u=tarako] [tarako-exploratory][Power:P2]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: