adb 獲取電量

1.打開cmd,連接模擬器 2.輸入命令:adb shell dumpsys battery(查看電量) 3.將充電狀態改爲非充電狀態 命令:adb shell dumpsys battery set status 1 status = 2 代表充電
相關文章
相關標籤/搜索