11-21-2019, 02:16 PM
(11-21-2019, 10:22 AM)Der Geist der Maschine Wrote: Wouldn't rk-bat attribute "charge" be more appropriate?
That attribute (charge) is not present in /sys/class/power_supply/rk-bat/ on the factory installed Debian desktop on my unit. Even so, I would have to read the source code to understand the intent of an attribute named "charge" if it were present.
voltage_now seemed self-explanatory, and that attribute changes over time so it was a likely candidate for monitoring. If the battery does discharge while attached to DC power supply then it is reasonable to expect to see the voltage drop on voltage_now. This was not observed under test conditions I previously mentioned.