Fix bug: Restore bay power state upon resume only when on bat power
    and the setting is active (xudabit)