Fixing a curtain rail to old brick wall
If you're using a hammer drill, try using a regular drill (or turn hammer mode off) and the masonry bit. Spin fast, push slow. Oversize the holes and use plastic plug anchors to provide some cushion. 

Once you do get a few solid connections, use some construction adhesive or silicone on your batten for additional support.