I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated.
Ex: 'adb shell dumpsys battery' this code when android device is connected to windows gets executed and will fetch the response. can someone help me how to extract the information from response and validate the same.