The protein features a plasma membrane-derived thylakoid membrane and a oxidoreductase activity, acting on NAD(P)H.