I wonder if its possible to add some doc strings to the pi-top SDK so that users know what things returns/usage information
I went and edited battery.py with some NumPy/SciPi format doc strings just to test and I think something like this would be really handy. Or are you willing for the community to help with it and provide PRs on GitHub for this?
I know some things have doc strings but not everything does
How it looks via VSCode
The Doc strings I added - descriptions of what it returns may not be fully accurate as i can only determine that by what I see happening