Cwn driver get pwr data

Prototype:

description
Give the power state or USB connection

return value
0: no power off, and no usb connection 1: usb connection 2: power off