lhl / batterylog

Linux laptop battery logging tool
GNU General Public License v3.0
26 stars 5 forks source link

amperage metric #2

Open anarcat opened 2 years ago

anarcat commented 2 years ago

would it be possible to have an amperage output as well? watts are actually really nice and useful, but I happen to have a lot of already recorded metrics in amperes instead of watts, which makes comparisons difficult.

battery metrics are also often reported in mAh (e.g. from tlp-stat -b) which makes it hard to validate the output of the script from other metrics.

thanks!

lhl commented 1 year ago

Oops, this must have gotten lost in my notifications, sounds like an easy fix for output, will get around to it next time I circle back to improvements for this util. Just as an FYI, amps are stored (either as charge_now or current_now) in the sqlite DB though, so should be easy to query for the raw data.