Battery Life?

@Michael_Wu sorry you went through that hassle!

I tested power-profiles-daemon with power-saver mode and I also don’t see any energy draw from my HDMI card. I’m not sure if it makes any difference but it’s in the right slot closest to me (as opposed to one of the rear slots).

I’m getting about the same power draw with power-profiles-daemon as with tuned, (although powertop complains some settings are “Bad”) so power-profiles-daemon is probably the way to go. It looks like while browsing this will get about 7 hours consistently which seems pretty good? The lowest idle power usage I recorded on sway/waybar was 4.25 W.

1 Like

@Michael_Lingelbach no worries! I wanted to try out tuned at some point, anyways :grinning:

Yeah, I dedicate the front left slot to it but have tried other slots – same thing. Hmm, just to confirm, if you unplug the HDMI card completely does your lowest idle power remain the same?

From my previous testing, with just a terminal running Powertop:
powertop --auto-tune, which turns all tunables to Good, seemed to save around 0.3W during idle vs. the defaults.
Note that each setting can and probably should be tested for stability/side-effects/power savings, and extra steps are needed to persist the settings upon reboot. I’m currently using Powertop just for monitoring and not adjusting tunables to avoid any harmful side-effects, though.

In prior testing, I noticed that power-profile-daemon’s power-saver profile idled about 0.5W lower than the balanced profile, with nothing open but a terminal showing Powertop.

7 hours would be 55Wh/7 hours ~= 7.857W on average, which I would say is in line with what I’ve noticed just with normal browsing – but of course, these are very rough estimates.
Edit: in the spirit of not misleading anyone, the better wording would be my own varied/constant browsing, which can also vary wildly between which browser I’m using, the websites I visit, the number of tabs open, the idling time between scrolling/typing/video-watching. I can sit on a few resource-light websites/tabs, just reading, and maybe achieve 10 hours (5.5W average usage).

With that edit being typed, does anyone have any suggestions for cross-platform and/or Linux battery benchmark tools/standardization? MobileMark isn’t available on Linux, would be nice imo if people could see battery run times (perhaps of various tasks) with a detailed breakdown of peoples’ hardware/settings!


Some notes on power-profiles-daemon:

Fedora 34’s current stable version is 0.8.1, which does not support saving the last used profile after reboot. Defaults on boot to the balanced profile. 0.9.0 does support it (currently available on Fedora 35 stable), along with this neat feature:

support for “holding” a power profile while running a task
or application, making it possible to switch to a performance profile during
a compilation, or to a power-saver profile when low on battery, reverting to
the original profile when done.

Running powerprofilesctl list:

  performance:
    Driver:     intel_pstate
    Inhibited:  no

* balanced:
    Driver:     intel_pstate

  power-saver:
    Driver:     intel_pstate

powerprofilesctl get (currently active profile)
powerprofilesctl set power-saver|balanced|performance

Fedora 35 (Changes/Power Profiles Daemon - Fedora Project Wiki):

will install power-profiles-daemon in Fedora Workstation and enable it by default.


Side-note, maybe some of this info should go under

and/or

not sure how to proceed, though, so I’m just going to link the two pages :sweat_smile:

3 Likes

@Michael_Wu wrt. battery benchmarking not anything well known. Ars did their battery test by just playing a video on BBC via a browser, for instance.

There is gnome-battery-benchmark as well, which allows you to set custom loops of actions and run them for a certain amount of time and measure your average power consumption. I haven’t used it personally, though.

1 Like

@Michael_Wu thanks for the HDMI card information. I measured the card power draw when plugged in with no HDMI cable attached, and it is around 0.1W. I suspect if the system power went up by 1W it may be related to powering up the retimer as well, but will need to do some more measurements to see if this is what is causing the higher power draw.

5 Likes

Thanks for the update/transparency @Kieran_Levin!

If there’s anything on my end I can do to help troubleshoot, please let me know and I can try.

Youtuber Brad Ling found out about this in his recent livestream that the module cards being plugged in draw significant amounts of power without anything actually being connected to them at 2:27:00. Could there be a fix for this in the future?

2 Likes

I’m wondering high power draw from some modules could be one possible symptom of this linked issue. These exact symptoms aren’t described on that page, but I could totally imagine a scenario where if that EMI sticker was shorting the particular wrong pins it could high power draw when some modules are connected.

1 Like

This is possibly the same issue Michael Wu is reporting earlier in this thread where the HDMI Expansion Card was keeping the retimer active, which we are investigating.

6 Likes

Anecdotally I noticed some substantial power savings swapping out my HDMI and USB-A for usb-c cards as well, on the order of 700 mW idle. Not I did not notice this in powertop, only by removing the card.

1 Like

Ditto to @Michael_Lingelbach 's experience, my HDMI card shows ~900mW draw and for some reason 100% usage on powertop. Possibly interestingly, before plugging in to an external monitor for the first time, the HDMI card if it drew any power was <200 micro-Watts (low enough it did not show in the top ~60 entries in powertop).

Perhaps to someone better versed in the technical details this is a clue to some sort of toggle that may have been tripped during the first HDMI usage that can maybe be un-tripped afterward to save a few joules here and there? Whatever the initial configuration was, it worked fine for recognizing the outputting to the external monitor on first use.

1 Like

It seems that the retimer on the mainboard is not re-entering the low power state that it should be when nothing is plugged in. We’re digging into why that is.

9 Likes

Could be part of the issues stated here before but,


This happened last night. Surprised me a little

1 Like

By the way, as others have reported, with a combination of, in my case, auto-cpufreq and tlp (and not having the HDMI card installed), I was able to get down to 5-6W idle, 7-8W doing light web browsing and so forth.

As an experiment I disabled hyperthreading (and while I was at it, side-channel attack mitigations), and it got down to a little over 4W while idle. Since I don’t need the extra horsepower, this is seeming like a good tradeoff for me, so I’ll keep running it and see how it looks.

Of course, in a perfect world I’d undervolt, but… thanks Intel!

1 Like

@Brett_Kosinski That’s actually pretty high, mine idles closer to 3.5W (but 8W seems about right for firefox or video streaming)

I’m seeing 9.9 while viewing this page in Chrome and screen at 1/2 brightness. I don’t have the display cards in. I do have two of the USB-C, one USB-A and one 250gb installed.

What happens if you turn screen brightness down? The backlight is a huge power draw and when I’m assessing my battery tuning, I’m running with the screen at usually the second or third lowest setting.

I don’t know about you, but when I put the laptop to sleep I don’t expect it maintaining an internet connection with anything. As such I disabled connected standby to disconnected standby. I’d recommend it to you, as it will save power in standby as well.

1 Like

So the Suspended message on the battery report doesn’t mean its shut down? I was under the impression it somehow drained the battery while it was shut down

Dropping it from 1/2 brightness to 1/4 brightness in the gnome panel dropped me to 2.5W rate while on this page in Chrome!

3 Likes

One issue I’ve noticed is high audio codec power draw while watching video. This seems a little higher than I would expect for an mkv/AAC local filed played via mpv on pipewire

The battery reports a discharge rate of 9.44 W
The energy consumed was 206 J
System baseline power is estimated at 11.9 W

Power est.    Usage     Device name
  4.50 W     24.8%        Display backlight
  3.21 W     53.0%        CPU misc
  1.81 W      8.7 pkts/s  Network interface: wlp170s0 (iwlwifi)
  1.56 W    100.0%        Audio codec hwC0D0: Realtek
  784 mW     53.0%        CPU core