Is there any way to know current battery level of connected iOS device from command line.
Thanks in advance..
Is there any way to know current battery level of connected iOS device from command line.
Thanks in advance..
Check out libimobiledevice.
It is mainly targeted for linux systems but you can get it to compile for OS X as well if you want to although it is a bit complicated.
I am also in the process of writing an Objective C wrapper around the libraries and you can find some more info here: https://github.com/liamnichols/CocoaMobileDevice but be warned, its a WIP atm. I'm not even sure if it will run on other machines as there might be some hardcoded dependancies that need fixing.