Firefox Mobile consumes too much battery
Categories
(Firefox for Android :: Performance, defect)
Tracking
()
| Performance Impact | medium |
People
(Reporter: a.mpoygiatiwths, Unassigned)
References
Details
(Whiteboard: perf:resource-use)
User Agent: Mozilla/5.0 (Android 10; Mobile; rv:122.0) Gecko/122.0 Firefox/122.0
Steps to reproduce:
1.open Firefox when the battery is on 100%
2.use Firefox for five minutes and the battery will be already on 89%
Actual results:
Oh the battery is not even holding it for six hours
Expected results:
I don't know, maybe the phone wouldn't hold for only five hours?
Comment 1•2 years ago
|
||
Thanks for the report!
Let me first ask, what device are you running firefox on?
| Reporter | ||
Comment 2•2 years ago
|
||
I'm running on Motorola g32
(In reply to Marc Leclair [:mleclair] from comment #1)
Thanks for the report!
Let me first ask, what device are you running firefox on?
I running it on Motorola g32
| Reporter | ||
Comment 3•2 years ago
|
||
(In reply to Marc Leclair [:mleclair] from comment #1)
Thanks for the report!
Let me first ask, what device are you running firefox on?
I'm running it on Nokia 5.4 and Motorola g32
Comment 4•2 years ago
|
||
Thanks for reporting back,
Would it be possible to grab a profile while you're getting that unusual battery drain? You should be able to do it following these steps. One of the method allows to record directly on your phone without any usb connection
| Reporter | ||
Comment 5•2 years ago
|
||
(In reply to Marc Leclair [:mleclair] from comment #4)
Thanks for reporting back,
Would it be possible to grab a profile while you're getting that unusual battery drain? You should be able to do it following these steps. One of the method allows to record directly on your phone without any usb connection
Found it https://profiler.firefox.com/public/b3gbm22xp4a146dgzb65mqjdpcfxyetpvy5cfh8
Comment 6•2 years ago
|
||
The severity field is not set for this bug.
:amejia, could you have a look please?
For more information, please visit BugBot documentation.
Comment 7•2 years ago
|
||
Hello,
I also notice this issue. And I see multiple peoples talking about it : https://connect.mozilla.org/t5/discussions/firefox-for-android-v122-high-battery-usage/m-p/52113
I have a brand new Samsung A15, so I don't think I have an issue with my battery.
At night without using my phone and with routines to save energy (+disable wifi and 4G) I lose +10% of battery.
After uninstalling Firefox, I only lost 2-3%.
"Battery" app also display high battery usage from Firefox like 14% per day for only 5 minutes display on screen.
Hibernation doesn't seem to stop battery drain.
| Reporter | ||
Comment 8•2 years ago
|
||
:anejia i saw you online yesterday please set up the severity field
Comment 9•2 years ago
|
||
Hello,
I reinstall Firefox app on Sunday March 31th .
I am not able to reproduce the issue I had.
I try to use a widget on home screen, background video, Pip video, sync my Firefox account, leave tabs or close everything.
Only change between the issue and now is apps update (including Firefox 122->123) and an android security update (January 1st 2024)
Should be good to know why and when this can happen if possible.
| Reporter | ||
Comment 10•2 years ago
|
||
(In reply to a.mpoygiatiwths from comment #8)
:amejia i saw you online yesterday please set up the severity field
Comment 11•2 years ago
|
||
The issue came back after one week.
https://gist.github.com/Inglebard/0ac254badbf27c3945c470e2fa2c817d
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Hi David!
On the profile that you posted we don't see anything very concerning, we did notice there were several extensions installed. Could you maybe try disabling your extensions and seeing if the issue still reproduces?
In addition when you're seeing the issue it would be helpful to see a profile of a longer period (1-2 minutes), to get a better idea of what your browser may be doing.
Comment 13•2 years ago
|
||
Hello Bas Schouten,
I did not posted any profile.
I suppose you talked about the profile from a.mpoygiatiwths.
I currently uninstall Firefox from my phone but if necessary, I can install it a post a profile when the issue occur.
However, I am not sure it is relevant because the issue doesn't seems to appear during browsing.
| Reporter | ||
Comment 14•2 years ago
|
||
Don't worry even without extension Firefox is still insanely drains battery https://connect.mozilla.org/t5/discussions/firefox-for-android-v122-high-battery-usage/td-p/50056 these guys can prove it
Comment 15•2 years ago
|
||
Hello,
I think I managed to catch a profile while Firefox was eating my battery.
https://share.firefox.dev/43kpa1J
Best,
Ivan
Comment 16•2 years ago
|
||
(In reply to cenata from comment #15)
Hello,
I think I managed to catch a profile while Firefox was eating my battery.
https://share.firefox.dev/43kpa1JBest,
Ivan
Maybe 2 more
https://share.firefox.dev/3x81AZM
https://share.firefox.dev/3Trktyi
Comment 17•2 years ago
|
||
The Performance Impact Calculator has determined this bug's performance impact to be medium. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.
Platforms: Android
Resource impact: Severe
[x] Bug affects multiple sites
[x] Multiple reporters
Comment 18•2 years ago
|
||
(In reply to cenata from comment #16)
(In reply to cenata from comment #15)
Hello,
I think I managed to catch a profile while Firefox was eating my battery.
https://share.firefox.dev/43kpa1JBest,
IvanMaybe 2 more
https://share.firefox.dev/3x81AZM
https://share.firefox.dev/3Trktyi
I made two more without extensions:
https://share.firefox.dev/3TJQJye
https://share.firefox.dev/3PzoyPX
Best,
Ivan
Comment 19•2 years ago
|
||
On these profiles, it's possible to enable cpu graphs from the console:
experimental.enableProcessCPUTracks()
There are some spikes here and there. Sometimes we see the CPU is running at ~25% after a spike even though not activity still occurs.
But when it's idle we can see the CPU usage is always between 1 and 5%. Is that expected?
It would be good to have similar profiles for a Firefox that doesn't have the issue, is that possible?
Comment 20•2 years ago
|
||
Hi,
I removed Firefox from my phone.
Installed it an hour later. Started it and only went through the initial steps. I didn't change any settings.
I checked and it does not consume battery. It usually start doing it after I've set the app like I want it, use it for a while ans so on ...
I took this profile https://share.firefox.dev/4apFAbu
Best,
Ivan
Comment 21•2 years ago
|
||
Tagging :kaya for further prioritization.
| Comment hidden (advocacy) |
Updated•2 years ago
|
Comment 23•2 years ago
•
|
||
We have analyzed the profiles attached in this ticket and unfortunately we could not spot anything concerning there. Therefore, I'll close this ticket as invalid. As :jackyzy823 linked the meta ticket, the actionable items will be collected under that and then we will be taking action. Those improvements will help improve the current state.
Thank you very much for all your inputs here!
| Comment hidden (advocacy) |
Comment 25•2 years ago
|
||
Hi :a.mpoygiatiwths,
Sorry for the misunderstanding here. This does not mean that things work as expected, but rather the inputs provided here are not actionable. I'll reopen and close it as incomplete for better reflection of the situation. We'll be sorting out the actionable items and moving them to the battery drain meta ticket.
Updated•2 years ago
|
Description
•