I am using a battery to power my system and was wondering if there was a way to read the voltage from the barrel jack input so that I can integrate a state-of-charge monitor at a software level. It is possible to read this value directly or would I need to read the voltage externally and feed it back through the GPIO somehow?
hello euan2,
you may see-also developer guide, Software-Based Power Consumption Modeling.
the input voltage is available via sysnode, there’re different channels.
for example, /sys/bus/i2c/drivers/ina3221/1-0040/hwmon/hwmon4/in1_input
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.