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 cm10.1, Nightly and twrp 220.127.116.11
If you like to say thanks, please hit the Thanks button.