fixed a regression related to the digitalWriteFast conversion; we'll now turn off if shutdown is called and we're plugged in