Lithium battery functional membrane production