11-21-2019, 10:00 PM
(This post was last modified: 11-22-2019, 12:54 AM by Der Geist der Maschine.)
(11-21-2019, 09:42 PM)pfeerick Wrote:(11-21-2019, 03:07 PM)Der Geist der Maschine Wrote: What I wrote is not what I meant ;-/ I meant "capacity". "current_now" might be also worth monitoring.
Any of those three would give you some idea of what's happening... `voltage_now` constantly dropping would tell you either the unit isn't plugged into external power, or the power supply can't keep up with the load. `current-now` would be the best of the three to monitor, as it will respond a lot faster than `capacity`, and will go positive/negative depending on if the unit is charging or discharging.
Depending on what how the paths have changed (if any), this script I used for the original pinebook with A64 processor might be handy to use now... logs to screen and file for later analysis.
https://github.com/pfeerick/pine64-scrip...yLogger.sh
Earlier this day, I measured all three with a 1 liner
make -j5.
Copy/paste removed the tabs.
time capacity current voltage
18:58:13 100 0 4357000
18:58:14 100 0 4357000
18:58:15 100 0 4357000
18:58:16 100 0 4357000
...
19:31:55 100 0 4203000
19:31:56 100 0 4203000
19:31:57 100 0 4203000
19:31:58 91 0 3971000
19:31:59 91 0 3971000
19:32:00 91 0 3971000
19:32:01 91 0 3971000
19:32:02 91 0 4202000
Capacity significantly went down within a second. I assume during that second, there was a spike in current as well.