I’m writing a basic application that every x hours publishes system status to AWS.
One of the things I’d like to put in my JSON object is a boolean to say if the device is charging, or not.
I see that in the reference there are prototypes for PMIC functions, but no meaningful documentation.
Specifically I want to know how to interpret the values in the system status register as, I assume, that’s where I’ll find the charging / not charging info.