batterylog

Linux laptop battery logging tool (by lhl)

Batterylog Alternatives

Similar projects and alternatives to batterylog

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better batterylog alternative or higher similarity.

batterylog reviews and mentions

Posts with mentions or reviews of batterylog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-01.
  • Framework is now available in Australia
    5 projects | news.ycombinator.com | 1 Sep 2022
    I did a lot of testing on battery life testing on my new 1260P Framework recently. It has a 55Wh battery, so you can back out any of the calculations for battery life:

    * On my Arch install (5.19 kernels, tlp and thermald installed, but default settings, running Sway WM), it idles at around 4W at 200 nits (if nothing is plugged into the USB ports and it's able to spend almost all its time in C10), otherwise you're looking at idles of around 6W. Overall, it should get about 10h doing "nothing."

    * Light usage, including playing (VA-API hw accelerated) videos like YouTube will get to 8-12W.

    I haven't done a lot of rundown tests, but I suspect for average usage (web browsing, basic productivity, light dev, but not monster compiles) you'd probably expect like 5-7h, but it's not going to give you 8h+ like you would expect with the best modern thin and lights.

    A few other battery related notes:

    * From Intel 11th-gen on, S3 suspend is no longer supported, just S0ix or s2idle ("modern standby") - I wrote a test script and for me, this uses about 0.7Wh when suspended, or about 1.3% of battery/hour - Windows machines automatically hibernate at 5% battery usage, and you'll probably want to setup suspend-then-hibernate for any newer Intel machine.

    * The Framework 11th gen had some RTC/power off battery drain issues, but those are supposed to be fixed for 12th gen (I haven't tested as rundown times are in the weeks if its a problem).

    Links to testing here: https://github.com/lhl/linuxlaptops/wiki/2022-Framework-Lapt...

    I also wrote a rough little tool to track battery rundown while suspended into a sqlite db here: https://github.com/lhl/batterylog

    If you're looking for maximum battery life for a Linux laptop btw, Tuxedo and Slimbook (shared TongFang chassis) recently released two recent models that would do better than the Framework. An AMD 5700U 15" model w/ a 91Wh battery which is a lot more power efficient (and can be made more efficient with RyzenAdj) - I used the last version of this laptop (and wrote a review on that as well) the past two years and can attest that it's good, and the improvements on the refresh fix just about everything I didn't like about the first version, but the 5700U is sadly using older Zen2 cores that are outclassed at high-end performance, and suffers from retbleed mitigations as well. The second model are 14" Intel 12700H systems with 99Wh batteries (at the same weight as the Framework, very impressive). While a higher power consumption chip, you can tame it with thermald, auto-cpufreq, or manual RAPL settings and make it perform pretty close to a P chip I suspect, and you have almost twice the battery capacity to play with. (Obviously, get the version w/o an Nvidia dGPU if you care about battery life.)

  • Framework 12th Gen User Report
    3 projects | /r/linuxhardware | 26 Aug 2022
    I also include a list of other power measuring tools in the README of the little utility I wrote: https://github.com/lhl/batterylog - you can also look in the source code to see what I read and how I calculate various power formulas.

Stats

Basic batterylog repo stats
3
20
2.1
9 months ago

lhl/batterylog is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of batterylog is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com