Tracking battery current in Linux - eviltoast

Hello folks, is there a tool in Linux to track how much current the battery is pulling during charging? In Android there is Ampere that does this, and I’m looking for something similar. This nicely shows for example that my Android device is charging the battery with 1.5A right now.

  • ruben@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    The voltage, state and current draw and other cool stuff can usually be found from /sys/class/power_supply/BAT0/ you just have to make a small script to calculate what you need from that. This requres some knowledge, but it’s one way to do it.