Improve ac-adapter