Smart power closure system