add device stat and screenshot api