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.