AC/battery check in usb-powersave