Reduce battery usage?

Discussion of general topics about Mozilla Firefox
Post Reply
denniscarter
New Member
Posts: 1
Joined: January 18th, 2023, 2:43 am

Reduce battery usage?

Post by denniscarter »

Firefox consistently uses 75% of my battery life, even with few tabs and on non-intensive sites. Is there any way to decrease its battery usage, e.g. a power-saving mode?
User avatar
DanRaisch
Moderator
Posts: 127188
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Reduce battery usage?

Post by DanRaisch »

Why do you think this is a Firefox issue? Do you visit the same set of sites using other browsers and find that there is less battery consumption?
finalpatch
Posts: 1
Joined: February 10th, 2023, 12:12 am

Re: Reduce battery usage?

Post by finalpatch »

I do notice Firefox using more power than MS Edge when watching YouTube videos. On my laptop when watching the same video Edge uses less than 9-10, while Firefox uses 12-13w. Another thing I notice is that ClockRes(from system internals) reports timer resolution set to <1ms when using Firefox, and Edge on 15.6ms when looking at the same (empty) page.
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Reduce battery usage?

Post by therube »

Is that meaningful?
1 vs 15.6?

(Man I had to download the newer version just to see as mine was from 2004! ;-).)

Code: Select all

Microsoft Windows [Version 6.1.7601]

C:\clockres>clockres

Clockres v2.1 - Clock resolution display utility
Copyright (C) 2016 Mark Russinovich
Sysinternals

Maximum timer interval: 15.600 ms
Minimum timer interval: 0.500 ms
Current timer interval: 1.000 ms

C:\clockres>clockresoldiebutgoodie

ClockRes - View the system clock resolution
By Mark Russinovich
SysInternals - www.sysinternals.com

The system clock interval is 15.600100 ms

C:\clockres>dir

 Directory of C:\clockres

06/22/2020  08:19 PM           338,808 Clockres.exe
07/12/2004  01:02 PM            49,152 clockresoldiebutgoodie.exe
Now, that was with both browsers closed (SeaMonkey & FF), but with whatever else I have open (much), & I'm still at 1.
(And I not about to close Everything down to see.)
But is it meaningful?

Well...

https://randomascii.wordpress.com/2013/ ... ts-wasted/
(Seems to be well written & while originally dated, updated over time - with comments through this year.)

And while that is all well & good... I'd think you're overthinking things, maybe?

Charge.
Open FF to about:blank.
Time.
Wait to die.

Charge.
Open Chrome to about:blank.
Time.
Wait to die.

Then do similar with a page that loads content.
Oh, maybe pick some really long video on YT, say, https://www.youtube.com/watch?v=zq7rSaPit30, which covers 18 hours (if run at 1/2 speed), which is probably longer then your battery will last.

Run that in FF.
Run that in Chrome.

Wait for that beep at the end of 18 hours.

Did your battery last longer running Chrome then it did running FF?
(You could even set up a cam to watch all of this & post it on YT ;-).)


And it would seem that mozilla is aware of such things.
site:bugzilla.mozilla.org "system clock interval"
And you would assume, regardless of what ClockRes may show - at a particular instant, that they are actually on par with Chrome.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Post Reply