When the system is plugged in the mouse pointer keeps shaking. It makes it really difficult to click on any desired icon. When the device is not charging the touchpad works fine.
I am currently using Ubuntu 17.10. I also had the same problem while using Ubuntu 17.04.