How do you actually trigger that little spinner inside the statusbar? I am now checking the repository of Phonegap’s plugins but seems like there is nothing related to the question.
I could be wrong, but I’m pretty sure this isn’t possible with cordova.
take a look at this http://stackoverflow.com/questions/7993083/phonegap-detecting-network-activity
I was looking for the same thing and because I haven’t found a working plugin I made one myself (despite my modest C skills). Perhaps it’s also useful for someone else.