I meant (sorry for the wrong words):
"when adding the widget the file is at unknown state, need to hit the refresh button"
I have placed it on my opening screen: it shows enable or disable. If you hit disable it turns to enable and once enabled you can charge over usb and any kind of suitable power supply.
Of course you need root acces.
Galaxy Tab 10.1 P4 (3G+wifi) with KK4.4.4 Nameless ROM Homemade, ART and TWRP 18.104.22.168
If you like to say thanks, please hit the Thanks button.