standbyMode() and keep a pin LOW

Hi,
How can I keep one of my pins LOW when I put the samd21 into standbyMode? By default all the pins goes HIGH.
Thanks.
EDIT: Solved, problem was in my software, it does indeed preserve the state of the pin.