So i decided to extend sysinfo2 with a few extra api's...
currently my extension currently provides these:
Do developers here have any requests they'd like to make for additional functions?
#is bluetooth on?
#toggle bluetooth power
#why was this omitted in sysinfo??
#returns the above but filtered for active=1
#returns 1=charging | 0=not charging | -1=not known
#launch the Logs app in Missed Calls view
#list number of new emails per native mailbox found
#returns 0=no new email | 1=new email | -1=error
Download the extension here here